Zatiaľ som našiel takéto riešenie:
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim pole(3, 3) As String
Dim i, j As Integer
For i = 0 To 2
For j = 0 To 2
Me.GridView1.Rows(i).Cells(j).Text = pole(i, j)
Next
Next
End Sub
|