get data from Dataset

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hi all,

I have executed a query and put the result in a dataset. How can I get data
from this dataset? Can I alter it directly or do I have to convert it into a
new type to get the data from the dataset.

Regards
Stijn
 
Hi,

DataSet consists of one or more DataTables - so the actual data are in the
DataTables.
Please refer to MSDN docs on System.Data.DataSet and System.Data.DataTable
classes for examples on accessing and modifying data.

In particular, please refer to the following articles in the .NET Framework
Developer's Guide:

"Viewing Data in a Table"
"Editing Data in a Table"

("Manipulating Data in a DataTable" section).
 
Back
Top