DataColumn Object

The DataColumn object represents the column information of a Table (see Table C.7).

Table C.7. Properties of the DataColumn Object
Property Description
AllowDBNull Gets or sets a value defining whether Null values are allowed in this DataColumn.
AutoIncrement Gets or sets a value defining whether this DataColumn is to be auto incremented.
AutoIncrementSeed Gets or sets the AutoIncrement Initial value.
AutoIncrementStep Gets or sets the AutoIncrement step size. It defaults to 1.
Caption Gets or sets the caption of the DataColumn used by some web controls.
ColumnMapping Gets or sets the mapping type for the DataColumn.The values can be: None, Element, Attribute, Text, and Internal.
ColumnName Gets or sets the name of the DataColumn ...

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.