2
Answers

how to validate rows only if its been edited or added newly

anna john

anna john

5y
879
1
In my datagrid view, i am using rowvalidating event to check if 3 of the mandatory columns are filled by the user. but the row validating event is triggered even if i just tab through the rows. How can i restrict this event to fire only for newly added/whenever a row is updated or edited?
Answers (2)