There is two ways to easily add rows:
1. Create 2-dimensional data array of data and connect to FlyGrid.Rows.DataSource:
[VB.Net]
Dim gridData As System.Object()() = New System.Object()() { _
New String() {"Mike Carter", "First administrator"}, _
New String() {"Leo Scott", "Main forum moderator"}, _
New String() {"Kim Manner", "Second forum moderator"}, _
New String() {"Gerhardt Simmons", "Technical engineer"} _
}
flyGrid.BeginInit()
Try
'Add columns
For i=0 To 2
flyGrid.Columns.Items.Add(New Column(i.ToString()))
Next i
'connect to Data source
flyGrid.Rows.DataSource = gridData
Finally
flyGrid.EndInit()
End Try
2. Or add nodes:
[VB.Net]
flyGrid.BeginInit()
Try
'Add columns
For i=0 To 2
flyGrid.Columns.Items.Add(New Column(i.ToString()))
Next i
'connect to Data source
For i=0 To 10
Dim data as Object() = new Object(){"Cell[Row"+i + "Col0", "Cell[Row"+i + "Col1"}
flyGrid.Rows.Items.Add(New Node(data))
Next i
Finally
flyGrid.EndInit()
End Try