Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pulling data from a grid view
Message
De
29/11/2006 15:09:26
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
 
 
À
29/11/2006 15:00:42
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01173076
Message ID:
01173478
Vues:
11
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform