Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Item Detail in a DataTable
Message
 
À
05/07/2006 21:21:29
Rex Mahel
Realm Software, Llc
Ohio, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01131593
Message ID:
01134022
Vues:
15
Rex,

>That worked great, but there is a wrinkle, I also need to add a new record. Your solution works fine for existing records, but how can I use it to add a new record to the datatable?

You can just add a new DataRow to the table bound to your input controls. Rather than retrieving a row from the item selected in the DataGrid, you can call the business object's GetEmptyDataSet() first, then call its NewRow() method.

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform