Hello,

I was wondering if there is a way to keep the scroll position in a datagridview on a windows application after updating a record and refreshing the datagridview.

i am working with vb.net 2005. i have some textboxes where I load the corresponding fields from the datagridview. then the user is able to update the fields in the textboxes and then click on the update button whrere an update storeprocedure is executed and the I refill the datagridview to reflect the changes made. but I want to be able to maintain the scroll position in the same position and not going all the way to the top as it is doing rightnow.


This is how i am Re-Filling my datagridview:
Me.ClientsTableAdapter.Fill(Me.ACHReaderDataSetTblClients.Clients)


thanks for any suggestion, or example.