Question How do i get the last selected row in a datagridview

calixto_67

New member
Joined
May 27, 2012
Messages
1
Programming Experience
Beginner
I am trying to save a record selected in my datagridview but after i save it and then update the record on my database the selected row point to the first row in my database. Is it possible to retain the selected row after i save it.

Please help me guys....
 
There's no reason that saving a record should have any effect on the selection in a grid. If that's happening in your case then you're doing it wrong. As we haven't seen what you're doing, we can't see what's wrong with it.
 
Back
Top