It is used in a disconnected architecture.
Example:
- Provides lower performance. A DataSet object has read/write access.
- A DataSet object supports multiple tables from various databases.
- A DataSet object is bound to multiple controls.
- A DataSet object has slower access to data.
- A DataSet object is supported by Visual Studio tools.
- We can create relations in a dataset.
- A Dataset supports integration with XML.
- A DataSet communicates with the Data Adapter only.
- A DataSet can modify data.
Example:
- DataTable dt = new DataTable();
- DataColumn col =new DataColumn();
- Dt.columns.Add(col2);
- DataRow row = dt.newRow();
0 comments:
Post a Comment