Dim name1(100) As String
Dim Cal1(100) As String
Dim i As Integer
For i = 0 To 10 Step 1
name1(i) = GridView1.SelectedDataKey.Item(1)
Next i
i want to store the selected value into an array
then display the array in a text box
Label5.Text = name1(0)
Label6.Text = name1(1)
it woirks however it shows the same array contents for both
eg picke coke for array 1
and pepsi array 2
label5.text will show coke
as will label6.text
i want 5 to eqaul first array
6 to show second array