Try:
dataGridView.CurrentCell.RowIndex
or
dataGridView.CurrentCellAddress.Y
Tony
[quoted text, click to view] "Andy" wrote:
> Hi
>
> I have an app with an datagrid that I will replace with a datagridview
> controll.
> In the old datagrid I could use
>
> datagrid.currentrowIndex to get the index value for the current datarow,
> but I'm not able to find anything similar for the datagridview controll. Any
> ideas, anyone?
>
> /A.
>
>
Hi
I have an app with an datagrid that I will replace with a datagridview
controll.
In the old datagrid I could use
datagrid.currentrowIndex to get the index value for the current datarow,
but I'm not able to find anything similar for the datagridview controll. Any
ideas, anyone?
/A.