NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DataColumn Properties

The properties of the DataColumn class are listed below. For a complete list of DataColumn class members, see the DataColumn Members topic.

Public:

AllowNull Gets or sets a value indicating whether null values are allowed in this column for rows belonging to the table.
Attribute Gets or sets a value indicating whether the column is an attribute column.
AutoIncrement Gets or sets a value indicating whether the column automatically increments the value of the column for new rows added to the table.
AutoIncrementSeed Gets or sets the starting value for a column that has its AutoIncrement property set to true.
AutoIncrementStep Gets or sets the increment used by a column with its AutoIncrement property set to true.
AutoIncrementSupported Gets a value indicating whether AutoIncrement is supported.
Caption Gets or sets the caption for this column.
ColumnName Gets or sets the name of the column within the ColumnsCollection.
DataType The type of data stored in thecolumn.
DefaultValue Gets or sets the default value for the column when creating new rows.
Expression Gets or sets the expresssion used to either filter rows, calculate the column's value, or create an aggregate column.
ExtendedProperties Gets the collection of custom user information.
Namespace [To be supplied.]
Ordinal Gets the position of the column in the ColumnsCollection collection.
ReadOnly Gets or sets a value indicating whether the column allows changes once a row has been added to the table.
Site (inherited from Component) Gets or sets the site of the Component.
Sparse Gets or sets a value indicating whether the column should store data in a fashion optimized for sparse data patterns.
Table Gets the DataTable to which the column belongs to.
Unique Gets or sets a value indicating whether the values in each row of the column must be unique.

See Also

DataColumn Class | System.Data Namespace