devexpress - Get RepositoryLookupEdit from GridView -


I want to retrieve the data I want repeated through all the rows in Gridwu and repository lookup edit.

In fact, I would do it, but I've no idea how repository lookup admit:

  As for me INT32 = 0 myGridView.RowCount -1 dim row as DataRowView = CType (MyGridView.GetRow (i), DataRowView) // 'it does not work Lukapadit = Panktikitm ( "myColumn") as the next line Dipak Lu. MyRepLookupEdit Dim drv As DataRowView = CType (editor.Properties.GetDataSourceRowByKeyValue (lue.EditValue), DataRowView) Dim as MyData to Int32 = CType (drv ( "myData"), Int32)  
< / div>

I think you should use the following code:

ii of as int32 = 0 to myGridView.RowCount -1 dim cellValue object = myGridView.GetRowCellValue (i, "myColumn") Detaviav = new Detaviv (Ripojitriaitimgrid Lukapadit Kdeta source) as dim dView 'you must have a DataTable instance dim here Complete as rowIndex Nk = dView.Find (cellValue) Dim other objects as CellValue = dview (rowIndex) ( "myData") Next

Does this work for you?


Comments