DataSetFieldSchema::Identity Property

 

Gets a value indicating whether the value of the data field automatically increments for each new row added to the table or view.

Namespace:   System.Web.UI.Design
Assembly:  System.Design (in System.Design.dll)

public:
property bool Identity {
	virtual bool get() sealed;
}

Property Value

Type: System::Boolean

true if the DataType is numeric and the value of the column increments automatically as new rows are added to the DataTable; otherwise, false.

The Identity property corresponds to the AutoIncrement property of a DataColumn.

.NET Framework
Available since 2.0
Return to top
Show: