Reputation: 3
how to convert DataTable Array to DataSet?
dim DT_array as Datatable()
dim DS as Dataset
Ds=?
Upvotes: 0
Views: 1496
Reputation: 54417
There's no actual conversion to be done. The Tables
collection of the DataSet
is where the tables are stored. Like so many other collections, it has an AddRange
method:
DS.Tables.AddRange(DT_array)
Upvotes: 1