Hi,
I have a grid that consists of customer details which is populated from a database. One of the customer attributes is the Sort Code. I would like to be able to bind the values of this to the appropriate textboxes when editing a customer. In the database, this item is stored as a single 6 digit code, however, as is convention, the user enters the code in 3, 2 digit text boxes. Usually one uses the
Cheers,
Christian
I have a grid that consists of customer details which is populated from a database. One of the customer attributes is the Sort Code. I would like to be able to bind the values of this to the appropriate textboxes when editing a customer. In the database, this item is stored as a single 6 digit code, however, as is convention, the user enters the code in 3, 2 digit text boxes. Usually one uses the
Text='<%# Bind("blah") %>'technique, however in this instance this is not possible as there are 3 separate textboxes. When would be the best point to assign the values through codebehind? At the editcommand event (though afaik edit form items are not accessible from here)? Any help would be greatly appreciated.
Cheers,
Christian