Skip to content

Instantly share code, notes, and snippets.

@NPS-ARCN-CAKN
Last active September 26, 2017 20:39
Show Gist options
  • Save NPS-ARCN-CAKN/3b199d4de9cd6c989a640da4e9585953 to your computer and use it in GitHub Desktop.
Save NPS-ARCN-CAKN/3b199d4de9cd6c989a640da4e9585953 to your computer and use it in GitHub Desktop.
GridEX: Loop through table (VB)
'Loop through the rows
Private Sub DumpGridEXTable(GridEX As GridEX)
For Each Row As GridEXRow In GridEX.GetRows
Debug.Print("GroupValue: " & Row.GroupValue)
For i As Integer = 0 To Row.Cells.Count - 1
Debug.Print(vbTab & Row.Cells(i).Column.Caption & " " & Row.Cells(i).Value)
Next
Next
End Sub
'To get a single row (C#)
grid.GetRow().Cells["ColumnName"].Value
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment