How to locate the selected row of the datagrid to a specifc row in the datagrid

How to locate the selected row of the datagrid to a specifc row in the datagrid

Post by Vitali » Thu, 28 Nov 2002 01:22:14



How to locate the selected row of the datagrid to a specifc row in the
datagrid
 
 
 

How to locate the selected row of the datagrid to a specifc row in the datagrid

Post by VBDotNet Team [MS » Wed, 11 Dec 2002 06:36:11


What do you mean? You want to select a specific row? call Select(iRow)
function.

--
This posting is provided "AS IS" with no warranties, and confers no rights.

Quote:> How to locate the selected row of the datagrid to a specifc row in the
> datagrid


 
 
 

How to locate the selected row of the datagrid to a specifc row in the datagrid

Post by Windows Forms Tea » Sun, 15 Dec 2002 06:29:39


if you want to locate the current row you can use the DataGrid::CurrentCell
property:

int currentRow = DataGrid.CurrentCell.RowNumber;

--

Windows Forms Team

This posting is provided "AS IS" with no warranties, and confers no rights.


Quote:> How to locate the selected row of the datagrid to a specifc row in the
> datagrid