S
shahoo
Hi, I have a DataGridView on a form and it is bound to a
BindingSource. Some fields are necessary and so cannot accept Null
values. My problem is that when I run the program and try to add a new
row to the DataGridView and value of one of the necessary cells is
missing, when I click anywhere on the form it throws an exception and
prompts that that cell cannot be empty and it cancels the newly added
row. What I want to do is just prompt the user to add the value for
the cell and not canceling the new row. Can anyone please help?
BindingSource. Some fields are necessary and so cannot accept Null
values. My problem is that when I run the program and try to add a new
row to the DataGridView and value of one of the necessary cells is
missing, when I click anywhere on the form it throws an exception and
prompts that that cell cannot be empty and it cancels the newly added
row. What I want to do is just prompt the user to add the value for
the cell and not canceling the new row. Can anyone please help?