G
Guest
Hey all,
I'm trying to implement validation in my asp.net datagrid. For example, if a
user enters in a Customer ID I want it to check a different data table to see
if the customer exists.
I'm assuming I'll have to use template columns to add the custom validation
control next to each textbox. Please correct me if I'm wrong because i'm
having a challenging time with template columns.
Here's my question: I've noticed an issue between using template columns and
the regular bound columns. The way the textbox is accessed thru code:
Bound Column access to textbox
Cells(2).Controls(0)
Template Column access to textbox
Cells(2).Controls(1)
Why is there a difference?
thanks,
rodchar
I'm trying to implement validation in my asp.net datagrid. For example, if a
user enters in a Customer ID I want it to check a different data table to see
if the customer exists.
I'm assuming I'll have to use template columns to add the custom validation
control next to each textbox. Please correct me if I'm wrong because i'm
having a challenging time with template columns.
Here's my question: I've noticed an issue between using template columns and
the regular bound columns. The way the textbox is accessed thru code:
Bound Column access to textbox
Cells(2).Controls(0)
Template Column access to textbox
Cells(2).Controls(1)
Why is there a difference?
thanks,
rodchar