Getting Value of DevExpress XtraGrid Column

The GetRowCellValue method is used to get the value of a desired column in the selected row in DevExpress XtraGrid.

Example usage is given below..

listDataView.GetRowCellValue(i, "TestColumn1").ToString();

i is the "row index".



You May Interest

Freezing a DevExpress XtraGrid Column

Automating DevExpress XtraGrid Column Width

Demonstration of DevExpress XtraGrid Search Panel

DevExpress XtraGrid Setting Cell Color by Column

Putting Multi Selection and Checkbox Columns in DevExpress XtraGr ...