DataColumn Properties

DataColumn Properties

 

Namespace:   System.Data
Assembly:  System.Data (in System.Data.dll)

NameDescription
System_CAPS_pubpropertyAllowDBNull

Gets or sets a value that indicates whether null values are allowed in this column for rows that belong to the table.

System_CAPS_pubpropertyAutoIncrement

Gets or sets a value that indicates whether the column automatically increments the value of the column for new rows added to the table.

System_CAPS_pubpropertyAutoIncrementSeed

Gets or sets the starting value for a column that has its AutoIncrement property set to true. The default is 0.

System_CAPS_pubpropertyAutoIncrementStep

Gets or sets the increment used by a column with its AutoIncrement property set to true.

System_CAPS_pubpropertyCaption

Gets or sets the caption for the column.

System_CAPS_pubpropertyColumnMapping

Gets or sets the MappingType of the column.

System_CAPS_pubpropertyColumnName

Gets or sets the name of the column in the DataColumnCollection.

System_CAPS_pubpropertyContainer

Gets the container for the component.(Inherited from MarshalByValueComponent.)

System_CAPS_pubpropertyDataType

Gets or sets the type of data stored in the column.

System_CAPS_pubpropertyDateTimeMode

Gets or sets the DateTimeMode for the column.

System_CAPS_pubpropertyDefaultValue

Gets or sets the default value for the column when you are creating new rows.

System_CAPS_pubpropertyDesignMode

Gets a value indicating whether the component is currently in design mode.(Inherited from MarshalByValueComponent.)

System_CAPS_protpropertyEvents

Gets the list of event handlers that are attached to this component.(Inherited from MarshalByValueComponent.)

System_CAPS_pubpropertyExpression

Gets or sets the expression used to filter rows, calculate the values in a column, or create an aggregate column.

System_CAPS_pubpropertyExtendedProperties

Gets the collection of custom user information associated with a DataColumn.

System_CAPS_pubpropertyMaxLength

Gets or sets the maximum length of a text column.

System_CAPS_pubpropertyNamespace

Gets or sets the namespace of the DataColumn.

System_CAPS_pubpropertyOrdinal

Gets the (zero-based) position of the column in the DataColumnCollection collection.

System_CAPS_pubpropertyPrefix

Gets or sets an XML prefix that aliases the namespace of the DataTable.

System_CAPS_pubpropertyReadOnly

Gets or sets a value that indicates whether the column allows for changes as soon as a row has been added to the table.

System_CAPS_pubpropertySite

Gets or sets the site of the component.(Inherited from MarshalByValueComponent.)

System_CAPS_pubpropertyTable

Gets the DataTable to which the column belongs to.

System_CAPS_pubpropertyUnique

Gets or sets a value that indicates whether the values in each row of the column must be unique.

Return to top
Show:
© 2016 Microsoft