|
-
May 1st, 2007, 03:00 PM
#1
Thread Starter
Junior Member
How to maintain scroll position in DataGridView after updating and refilling datagrid
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|