The DataSet type exposes the following members.

Constructors

  Name Description
Public method DataSet()()()()
Initializes a new instance of the DataSet class.
Public method DataSet(DataSource, String)
Initializes a new instance of the DataSet class, assigning the data source and the SQL query.

Methods

  Name Description
Public method AssignFrom
Assigns (copies) properties from another DataSet to the current object.

Properties

  Name Description
Public property Fields
Gets the collection of DataSetField objects describing fields of the current data set. If this collection is empty, all fields fetched by the query will be accessible on the data set.
Public property Filters
Gets the collection of Expression objects applied to the fetched records to filter them for the current data set.
Public property MaxRecords
Gets or sets the maximum number of records that will be fetched from the data set. The default is -1, which includes all records.
Public property Name
Gets or sets the name of the current DataSet. That name can be used in aggregate functions to indicate which data set the aggregate refers to.
Public property Owner
Gets the DataSetCollection containing the current data set.
Public property Query
Gets the Query object for the current data set.
Public property RowFilter
Gets or sets the expression used to filter which data rows are included in the current data set. This property is be assigned to the RowFilter property of the underlying DataTable object.

See Also