Then on your postback you can have something like this
For i = 0 To Me.mygrid.Items.Count - 1
If CBool(CType(Me.mygrid.Items(i).Cells(0).Controls(1), WebControls.CheckBox).Checked)
End If
Next i
>Hi! Thanks for your help. What I'm really needing though is the code for my ASPX code behind page in the postback to find which rows have been checked. I wish to store the data of the checked items in the gridview in a session variable after the form is submitted.
>
>Thanks in advance!
>
>Greg
>
Alexandre Palma
Senior Application Architect