How to know if the user has done single selection of row and multiple selection of rows. I use the following code:
if(grdSearch.Row==grdSearch.RowSel)
{
MessageBox.Show("single row selected");
}
else
{
MessageBox.Show("multiple row selected");
}
but this only works if the user do drag and drop selection using mouse. but when the user select using CTRL key then RowSel and Row are same value. How to differentiate between single selection and multiple selection by the user.