devexpress gridview row selection mode and column selection code example
Example: get multi-selected rows gridcontrol devexpress
if (dtData.DataRowCount > 0)
{
foreach (int i in dtData.GetSelectedRows())
{
DataRow row = dtData.GetDataRow(i);
MessageBox.Show(row[0].ToString());
}
}