
The DataSet

|
PROPERTY
|
DESCRIPTION
|
|
DataSetName
|
Represent the name of the Dataset
|
|
DefaultViewManager
|
Default view of the data of a DataSet
|
|
Relations
|
Collection of relations of a DataSet that links multiple tables
|
|
Tables
|
Collection of tables contained in a DataSet
|
|
METHOD
|
DESCRIPTION
|
|
AcceptChanges
|
Commits all the changes made since last AcceptChanges called
|
|
BeginInit
|
Begins initialization if a DataSet was used previously
|
|
Clear
|
Removes all data from a DataSet
|
|
Clone
|
Clones the structure of a DataSet
|
| Copy | Copies a dataset's data and structure |
|
EndInit
|
Ends the initialization
|
|
GetChanges
|
Gets a copy of dataset containing all changes made since last AcceptChanges was called or loaded
|
|
GetXml
|
Returns the XML representation of the data stored in a DataSet
|
|
GetXmlSchema
|
Returns XML schema of the data stored in a DataSet
|
|
Merge
|
Merges two DataSet objects
|
|
ReadXmlSchema
|
Reads an XML schema and fills data in a DataSet
|
|
RejectChanges
|
Rejects all changes made to the DataSet since it was created or AcceptChanges called
|
|
Reset
|
Reset a DataSet to its original state
|
|
WriteXml
|
Write data of a DataSet to an XML document
|
|
WriteXmlSchema
|
Write data of a DataSet to an XML schema
|
Typed and Untyped DataSets
The DataView
|
PROPERTIES
|
DESCRIPTION
|
|
AllowDelete
|
Indicates weather deletes are allowed
|
|
AllowEdit
|
Indicates whether edits are allowed
|
|
AddNews
|
Indicates whether new rows can be added
|
|
Count
|
Represents the number of records in a DataView after RowFilter and RowstateFilter have been applied
|
|
DataViewManager
|
DataViewManager associates with this view
|
|
Item
|
Represent an item of a row
|
|
RowFilter
|
Represent the expression used to filter rows to view in the DataView
|
|
Sort
|
Represent the sort column and sort order
|
|
Table
|
DataTable attached with this view
|
|
METHOD
|
DESCRIPTION
|
|
AddNew
|
Add a new row to the DataView
|
|
BeginInit
|
Begins the initialization if a data view was previously used
|
|
Delete
|
Deletes a row
|
|
Find
|
Finds a row in the DataView based on the specified criteria
|
|
FindRows
|
Returns an array of rows based on the specified criteria
|
The DataView Manager
- view = new DataViewManager();
- view = new DataSetView(myDataSet);
|
PROPERTY
|
DESCRIPTION
|
|
DataSet
|
The DataSet being viewed of type DataSet
|
|
DataViewSettings
|
Contains the collection of TableSetting object for each table in the DataSet. The Table Setting object contains the sorting and filtering criteria for a particular table.
|

Khaled GarbayaPosted Nov 16, 2009, 12:58 PM
thank you very helpfull<!--Session data-->