Using the DataTable and DataSet
We’ve come a long way toward learning about ADO.NET, but so far I’ve glossed over most of the details you need to understand ADO.NET’s newest concept: the DataSet. Well, it’s all new for ADOc developers. The ADO.NET DataSet is basically a collection of DataTable objects with a mechanism to tie the tables together relationally and manage those tables as related sets of data. It also serves as a data source for bound controls. This means you won’t need a separate data source control—such as an ADO Data Control—to bind resultsets to data-aware controls.
KeywordsDataTable Object Visual Studio DataType Property DataSet Class DataSet Object
Unable to display preview. Download preview PDF.