Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

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());
                }
            }
 
PREVIOUS NEXT
Tagged: #rows #gridcontrol #devexpress
ADD COMMENT
Topic
Name
6+1 =