Devexpress GridControl 怎么获取上次选中行的值
上次选中行的索引值存到缓存里面int index = gridView1.GetFocusedDataSourceRowIndex();//获取数据行的索引值,从0开始int id = (int)gridView1.GetRowCellValue(index, "ID");//获取选中行的单元格的值