Skip to Content
0
Former Member
Jun 04, 2009 at 01:54 PM

Validation in table control.

1022 Views

Hi,

I need to do validations in table control. I have a table control with 3 columns fixed and 5 columsn editable.

out of the five columns two columns are dept and dept desc. I need to perform the following things in the table column.

Need to check if any data is changed in the entire table control other wise throw error.

Need to check if dept desc is entered for any entered dept else throw an error. Like if 123 is dept code entered then user can enter its description only once in the entire table.

ex:

coumn1 colum2 col 3 dept deptdesc

abd abc kjk 123

kjk sdf eer 123 text

here even though user enter 123 dept code for two records text is entered only once so i should not throw an error.

Appreciate your help on this.

Thanks,.