Data can be stored in memory in DataTable objects. (Datasets are made up of DataTable objects.) You typically create new data tables with TableAdapters using the TableAdapter Configuration Wizard or by dragging database objects from Server Explorer onto the Dataset Designer.
Data tables are created as a byproduct when you create new TableAdapters in the Data Source Configuration Wizard as well, but they can also be created independently. You create a standalone data table by dragging a DataTable object from the DataSet tab of the Toolbox onto the Dataset Designer.
Note: |
|---|
The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition. To change your settings, choose
Import and Export Settings on the Tools menu. For more information, see Visual Studio Settings.
|

Creating a DataTable with TableAdapter
Data tables with TableAdapters include methods that fill the table with data and write changes back to the database. You create TableAdapters by running the TableAdapter Configuration Wizard or by dragging database objects from Server Explorer onto the Dataset Designer.
To create a new data table with TableAdapter
To create a new data table with a TableAdapter from Server Explorer
Open your dataset in the Data Source Designer.
Drag a database object (for example, a table) from Server Explorer onto the Dataset Designer.

Creating a Standalone DataTable

See Also
Tasks
Concepts
Reference
Other Resources