How to set the pointer to the current row in the Datagridview in C#
Posted
by user286546
on Stack Overflow
See other posts from Stack Overflow
or by user286546
Published on 2010-03-27T19:01:55Z
Indexed on
2010/03/27
19:13 UTC
Read the original article
Hit count: 168
c#
|datagridview
I have a datagridview on the Windows Form in c#. I am updating and filling the table adapter on the cell event. The problem is that When I go to lower half of the datagrid which is not visible until I scroll down, as I click any cell, the table adapter is filled and updated and the pointerpoints to the very first row. Any suggestion on how to fix it. I have a ideas to record the top row of the datagridview that is visible and set the pointer to that row. But how to do it?
© Stack Overflow or respective owner