How to Asp.Net Dynamic Dataset
The DataSet can be filled either from a data source or dynamically. ADO.NET enables you to create DataTable objects and add them to an existing DataSet.vb.net
Dim dt As New DataTable
DataTable dt = new DataTable();
A DataTable is defined in the System.Data namespace and represents a single table of memory-resident data. You can set constraint information for a DataTable by using the PrimaryKey and Unique properties. The following ASP.NET program create a DataTable dynamically and add it into a Dataset.
Click the following links to see full source code