is it possible to add rows to a dataset
+5
A:
yes.
dim row as DataRow
row = ds.tables(0).NewRow
' Add Values to Row here
ds.tables(0).rows.add(row)
Stephen Wrighton
2009-01-06 16:16:51
+1
A:
Yes, you can certainly add rows to the datatables in a dataset.
Check this MSDN page for a how-to. It covers both strongly typed datasets and untyped datasets.
lc
2009-01-06 16:17:15
+2
A:
You can add rows to a datatable, which can be contained in a dataset. Call the 'Add' function on the "Rows" collection of the table.
GWLlosa
2009-01-06 16:17:41
+4
A:
No. But I suspect you mis-worded your question.
You can add rows to a dataTABLE. A Dataset is made up of DataTables (or is empty).
In order to add rows to a DataTable, you first make the DataRow and then .Add it to the DataTable
David
2009-01-06 16:23:27