Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Item Detail in a DataTable
Message
 
To
05/07/2006 21:21:29
Rex Mahel
Realm Software, Llc
Ohio, United States
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01131593
Message ID:
01134022
Views:
14
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
Previous
Reply
Map
View

Click here to load this message in the networking platform