April 2002
Intermediate to advanced
416 pages
11h 50m
English
The DataColumn object represents a column in a table. It contains information about the column itself rather than values stored in the column. For example, it holds the column’s name but not the column’s value for any given row.
The following sections explain some of the DataColumn’s most useful properties and methods.
These properties set simple restrictions on the column’s values. These restrictions are not enforced until you finish making changes to the row containing the modified fields. For example, suppose you are using a DataGrid to edit address records. The State field has a MaxLength value of 2 but you enter the value Wash. You can continue to edit that entry and ...
Read now
Unlock full access