How to get a cell value or row value in ControlGrid Level 1 GridView C# - DevExpress -
I can get cell value wonder if how I I clicked before the event But you'll see this message on the debugging mode Here is a screenshot on the control grid. Then to get the value of the cell. Can anyone help? Thank you. ControlGrid Level 1 < Code> GridView .
private void gvPrerequisit_Click (object sender, EventArgs e) {MessageBox (gvPrerequisit.GetFocusedRowCellValue ( "ProspectusPrequisitID"). With ToString had tried ()); }
System.ArgumentNullException: Value can not be null.
First you GridView
Click to cast event GridView1
Gridwu gv = (GridView) GridView1.GetDetailView (GridView1.FocusedRowHandle, 0); It is GV your Gridwu now 2
, you can call this value ...
gv.GetFocusedRowCellValue ("columnname"))
Comments
Post a Comment