I'd like to iterate through all the rows in a gridview and retrieve data from RepositoryLookupEdit.
Basically I'd like to do this, but I don't know how to get the RepositoryLookupEdit:
For i as Int32 = 0 to myGridView.RowCount -1
Dim row As DataRowView = CType(myGridView.GetRow(i), DataRowView)
//'This next line does not work
Dim lue As LookUpEdit = row.Item("myColumn").myRepLookupEdit
Dim drv As DataRowView = CType(editor.Properties.GetDataSourceRowByKeyValue(lue.EditValue), DataRowView)
Dim myData As Int32 = CType(drv("myData"), Int32)
Next