Empty Filed in DatagridView
I want to insert data from DatagridView to database
I want when I click save button before saving the Data to database it should look for empty fields in DatagridView if there are empty fields give me a message else insert Data to database.
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.


Suraj KumarRank #353 · 7.1K reputationPosted Oct 2, 2018, 4:55 AM EDT
You can add asp.net required field validators to each text box in your gridview.
Suraj KumarRank #353 · 7.1K reputationPosted Oct 2, 2018, 4:57 AM EDT
Arifullah IrfannRank #4,270 · 354 reputationPosted Oct 2, 2018, 6:31 AM EDT