|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Validating the cell contents of a datagrid dynamicallyHi,
I need to validate the contents of a datagrid cell against the datatype of the respective column of the datatable (datasource). The datagrid is allocated the datasource at runtime. So there is no fixed column pattern. For instance, if my datatables first column is of type int, I need to invoke the validation on Currentcellchanged event of the datagrid & check if the modified value of the cell is an int. Any help would be appreciated. Thanks, Pras. |
|||||||||||||||||||||||