Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Editing Gridviews With Paging
Message
De
08/05/2006 22:31:01
 
 
À
08/05/2006 21:23:06
Rex Mahel
Realm Software, Llc
Ohio, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
WebForms
Divers
Thread ID:
01120221
Message ID:
01120233
Vues:
16
Hi, Rex...

The GridView contains a design-time property called SelectedDataKey – you can set it to a unique identifier based on the PK of the data being edited. So if it's orderID, you'd set the value of SelectedDataKey to "orderID". And then at runtime...
int nOrderID =  (int)this.MyGrid.SelectedDataKey.Values["OrderID"]; 
let me know if that helps...
Kevin
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform