Nilesh Dalvi

Nilesh Dalvi

  • NA
  • 42
  • 48.5k

Check if datagridview rows are Empty

Jun 3 2013 6:11 AM
How to check that... datagridview Row or Rows is/are empty

if datagridview row is empty then error must be show.


User can't leave datagridview until insert all the data in it.


Plz... tell me what's the coding for that.

I already had 2 rows on form Page Load....

The user fill only one row, and click on "Save" button without filling the second row...

in that time,
after saving... the system must be check that all rows are filled well..
if not...
it shows...MessageBox

"Please fill complete information"



Answers (6)