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