MetaColumn.DefaultValue Property

 

Gets the default value for the data field.

Namespace:   System.Web.DynamicData
Assembly:  System.Web.DynamicData (in System.Web.DynamicData.dll)

Public ReadOnly Property DefaultValue As Object

Property Value

Type: System.Object

The default value for the data field.

The DefaultValue property is typically used to pre-populate the field value when a new entry is created. This property verifies if a DefaultValueAttribute attribute is applied to the data field and retrieves the value of the Value property.

.NET Framework
Available since 3.5
Return to top
Show: