System.Web.UI.Design.DataSetFieldSchema Class

Represents the structure, or schema, of a data field.

See Also: DataSetFieldSchema Members

Syntax

public sealed class DataSetFieldSchema : IDataSourceFieldSchema

Remarks

Use the System.Web.UI.Design.DataSetFieldSchema class to get the properties of a data field using a System.Data.DataColumn. You can discover the structure of a data field by using the following properties in this class: DataSetFieldSchema.DataType, DataSetFieldSchema.IsReadOnly, DataSetFieldSchema.Length, DataSetFieldSchema.Name, and DataSetFieldSchema.IsUnique. In addition, you can use the DataSetFieldSchema.Identity property to determine if a data column is set for System.Data.DataColumn.AutoIncrement, or the DataSetFieldSchema.PrimaryKey property to determine if a data column is in the primary key.

The System.Web.UI.Design.DataSetFieldSchema class is used by custom control designer components to provide information about a data field at design time.

To examine the components of data using a System.Data.DataSet, use the following classes.

Requirements

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