anna john

anna john

  • NA
  • 47
  • 8.1k

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

Oct 29 2019 5:34 PM
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)