DataTable Object

The DataTable object contains all information on a Table, which is contained in a DataSet object (see Tables C.4, C.5, and C.6).

Table C.4. Properties of the DataTable Object
Property Description
CaseSensitive Case Sensitivity flag.
ChildRelations Returns a collection of Relation objects belonging to the DataTable.
Columns Returns the Columns collection for the DataTable.
Constraints Returns the Constraints collection for the DataTable.
DataSet Returns a reference to the DataSet to which the DataTable belongs.
DefaultView Gets a default DataView object for the DataTable.
Extended Properties Gets or sets extended properties for the DataSet. These are developer-provided properties created at runtime.
HasErrors Returns true if ...

Get Inside ASP.NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.