Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Forcing DataRow.RowState
Message
From
07/11/2003 13:51:43
Keith Payne
Technical Marketing Solutions
Florida, United States
 
 
To
07/11/2003 09:42:10
Rex Mahel
Realm Software, Llc
Ohio, United States
General information
Forum:
ASP.NET
Category:
ADO.NET
Miscellaneous
Thread ID:
00847629
Message ID:
00847755
Views:
20
>All,
>
>Is there a way to force the datarow.rowstate flag to Added? I want to use line items from a previous invoice as default items in a new invoice. I want to select the previous line items into a datatable, let the customer maintain the data and save the line items as new items, but I cannot change the rowstate. Is there a workaround to do this short of getting the defaults in a datareader and manually adding the datarows into the datatable?
>
>Thanks
>
>Rex

Rex,

They key is to fill a datatable with the exisiting line items, then copy the rows into a different datatable that handles the new invoice.
Previous
Reply
Map
View

Click here to load this message in the networking platform