Prevent empty cells in datagridview
C#
2
Posts
2
Posters
0
Views
1
Watching
-
-
Hi, I was wondering how i could prevent empty cells when the user adds a new row in the datagridview? Because the gridview is bouned to an sql database, some fields are not allowed to stay empty. Any idea how to get this trick done? Thanks in advance!
Just add validation, check if the cells are empty before doing a save, and if they are, tell them to fix them.
Christian Graus Driven to the arms of OSX by Vista.