thomas008
Well-known member
Hi
I have a problem with validating my data.
I load a table from my database into my dataset
in my dataset.vb file i do my validation. When a cells contains an error
i set the columnerrortext. When the a row contains columnerrors i set the rowerrortext. Now my problem is when i add a new row the columnserrors are set but i cant set the rowerror because the row is not added to the colletion yet. So i need the event called after datatable_TableNewRow so i can set the rowerror there. (the reason why i need to set the rowerrors is because i check every row for errors and if none of the rows has an error i allow the users the save the data to the database)
I have a problem with validating my data.
I load a table from my database into my dataset
in my dataset.vb file i do my validation. When a cells contains an error
i set the columnerrortext. When the a row contains columnerrors i set the rowerrortext. Now my problem is when i add a new row the columnserrors are set but i cant set the rowerror because the row is not added to the colletion yet. So i need the event called after datatable_TableNewRow so i can set the rowerror there. (the reason why i need to set the rowerrors is because i check every row for errors and if none of the rows has an error i allow the users the save the data to the database)