This documentation is archived and is not being maintained.
DefaultAutoFieldGenerator::CreateField Method
Visual Studio 2010
Generates a dynamic data field.
Assembly: System.Web.DynamicData (in System.Web.DynamicData.dll)
protected: virtual DynamicField^ CreateField( MetaColumn^ column, ContainerType containerType, DataBoundControlMode mode )
Parameters
- column
- Type: System.Web.DynamicData::MetaColumn
The metadata for the column to create the dynamic field for.
- containerType
- Type: System.Web.DynamicData::ContainerType
The data-bound control that contains the dynamic field.
- mode
- Type: System.Web.UI.WebControls::DataBoundControlMode
The access mode for the dynamic field.
You can override this method to customize dynamic-field options such as the access mode. The access DataBoundControlMode mode specifies the data-entry modes for a data field, such as ReadOnly, Edit, and Insert.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: