Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Item Detail in a DataTable
Message
De
25/06/2006 19:56:12
Rex Mahel
Realm Software, Llc
Ohio, États-Unis
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Item Detail in a DataTable
Divers
Thread ID:
01131593
Message ID:
01131593
Vues:
75
All,

I have an application that I want to maintain detail records for a header record in a datatable and to save the entire entity (both header and detail) at the same time. I have the details in a GridView and want to edit the information in a series of input controls populated from the GridView datatable having the detail information returned to the GridView database when I select another record or click the Save button

How can I populate the input controls from the selected record in the GridView? I know I can get the primary key and populate the controls from a separate Select, but how does this for a newly added record? How do I get the changed/added information from the controls back into the DataRecord?

TIA

Rex
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform