Hello,
I have a Datagrid when double click retrieves the column i want in the row where i click.
private void DataGrid_Click(object sender,System.EventArgs e)
{
BindingManagerBase bm = this.WorkBoardMain.BindingContext[this.WorkBoardMain.DataSource, this.WorkBoardMain.DataMember];
DataRow dr = ((DataRowView)bm.Current).Row;
int ColumnID = (int)dr["ColumnID"];
}
// this works fine as it retrieves value from ColumnID from one row selected however i want to highlight multiple rows in the datagrid and some how able to receive all the value that has the row highlighted.
//please help thanx
//
I have a Datagrid when double click retrieves the column i want in the row where i click.
private void DataGrid_Click(object sender,System.EventArgs e)
{
BindingManagerBase bm = this.WorkBoardMain.BindingContext[this.WorkBoardMain.DataSource, this.WorkBoardMain.DataMember];
DataRow dr = ((DataRowView)bm.Current).Row;
int ColumnID = (int)dr["ColumnID"];
}
// this works fine as it retrieves value from ColumnID from one row selected however i want to highlight multiple rows in the datagrid and some how able to receive all the value that has the row highlighted.
//please help thanx
//