Dev 获取GridControl的选中行的值

var index = gridView1.GetFocusedDataSourceRowIndex();//获取数据行的索引值,从0开始

var c = (int)gridView1.GetRowCellValue(index, "ID");//获取选中行的那个单元格的值

原文地址:https://www.cnblogs.com/nanqinling/p/13571580.html