Hi,
Hope you are not afraid of the search engine called google!!!!!!
The ADO.NET DataSet contains DataTableCollection and their DataRelationCollection . It represents a complete set of data including the tables that contain, order, and constrain the data, as well as the relationships between the tables.
We can use Dataset in combination with DataAdapter Class . Build and fill each DataTable in a DataSet with data from a data source using a DataAdapter. The DataSet object offers a disconnected data source architecture. The Dataset can work with the data without knowing the source of the data coming from. That is , the Dataset can work with a disconnected mode from its Data Source . It gives a better advantage over DataReader , because the DataReader is working only with the connection oriented Data Sources.
The Dataset contains the copy of the data we requested. The Dataset contains more than one Table at a time. We can set up Data Relations between these tables within the DataSet. The data set may comprise data for one or more members, corresponding to the number of rows.
The DataAdapter Object allows us to populate DataTables in a DataSet. We can use Fill method of the DataAdapter for populating data in a Dataset. The DataSet can be filled either from a data source or dynamically. A DataSet can be saved to an XML file and then loaded back into memory very easily. A DataSet can read and write data and schema as XML documents. The data and schema can then be transported across HTTP and used by any application, on any platform that is XML-enabled.
Here are some useful links
http://csharp.net-informations.com/dataset/csharp-dataset-sqlserver.htm[
^]
http://www.dotnetperls.com/dataset[
^]
http://msdn.microsoft.com/en-us/library/system.data.dataset(v=vs.71).aspx[
^]
public DataSet getTestList (string procedurename);
In the abovecode , You are tying to call a method called
getTestList with a string type input parameter and the return type is Dataset.
Hope you are clear!!!...
Regards
Sebastian