G
Guest
hello
i have a DataGrid Table and i want to select a row by Clicking the mouse
after i tried few times, i understood the the only event the the datagird respones to is the current_cell_chang
and my code for this event was
private void dataGrid1_CurrentCellChanged(object sender,System.EventArgs ne
dataGrid1.Select(dataGrid1.CurrentCell.RowNumber)
this.dataGrid1.Focus()
the problem is that it's selects the whole row except the current_cell (it sets the focus on that cell) and the problem is that i can't make the dataGrid to respone to other events..
what should be the problem? or what is the solution
thanks
i have a DataGrid Table and i want to select a row by Clicking the mouse
after i tried few times, i understood the the only event the the datagird respones to is the current_cell_chang
and my code for this event was
private void dataGrid1_CurrentCellChanged(object sender,System.EventArgs ne
dataGrid1.Select(dataGrid1.CurrentCell.RowNumber)
this.dataGrid1.Focus()
the problem is that it's selects the whole row except the current_cell (it sets the focus on that cell) and the problem is that i can't make the dataGrid to respone to other events..
what should be the problem? or what is the solution
thanks