DevExpress

林新i / 2023-05-08 / 原文

DevExpress.XtraGrid.GridControl控件获取选中行某列的值

selectedHandle = this.gridView1.GetSelectedRows()[0];
MessageBox.Show(this.gridView1.GetRowCellValue(selectedHandle, "RoadName").ToString());