Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pulling data from a grid view
Message
From
29/11/2006 15:09:26
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
 
 
To
29/11/2006 15:00:42
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01173076
Message ID:
01173478
Views:
10
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)
       'The grid item is selected do any code you need here.
    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
Previous
Reply
Map
View

Click here to load this message in the networking platform