Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

CurrentRow of DataGridView is null

$
0
0

Why oh why is the datagridview current row always returning NULL when there is clearly a row selected?  It's something that has been frustrating me for a while.

I've always found ways to work around it but perhaps I am using it incorrectly.  When the Data Grid View has a row selected how can I retrieve this row?  SelectedRows[0] doesn't work either...

 

 

 


Viewing all articles
Browse latest Browse all 2535

Trending Articles