Set Focus In A Particular Cell Of DataGridView In C#.Net
How to check whether the cell is empty or not (should contain value) on it's cell leaving. And after displaying proper message to user how to set focus in that particular cell.
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

raj5 reputationPosted Oct 6, 2009, 1:09 AM EDT
You can write code on the cell validating event.
DataGridview.Rows[e.rowsinded].cells["cellname"].value == null
prompt for message box.
DataGridview.Rows[e.rowsinded].cells["cellname"].Selected = true.
Raj