C# datagridview selectedrows.count problem
Posted on 2012-03-20
i have a weird datagridview problem:
private void p_GridView_RowEnter(object sender, DataGridViewCellEventArgs e)
this code is used to ensure user selected a row:
the gridview is set as
the problem is that if there is only one row in the grid it always has a count of 0 when it should be one.
any help would be appreciated.