Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding a custom row into a dataset
Message
 
To
17/06/2008 00:40:35
General information
Forum:
ASP.NET
Category:
Databases
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01324625
Message ID:
01324634
Views:
19
This message has been marked as the solution to the initial question of the thread.
You need to use the NewRow method of the DataTable object. See an example from http://www.startvbdotnet.com/ado/datatable.aspx

>I have a data, which contains about 1000 records. While scanning it, based on specific conditions, I may have to add additional rows. But, those rows are not from existing records. They are custom such as adding a row into a dataset where the values would be loRow("Field1")=1 and loRow("Field2")=1. How can I accomplish this?
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Previous
Reply
Map
View

Click here to load this message in the networking platform