| Visual Basic (Declaration) | |
|---|---|
Public Property FieldType As FieldTypeEnum | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public FieldTypeEnum FieldType {get; set;} | |
| C# | Copy Code |
|---|---|
private void UnboundGrp_DataInitialize(object sender, System.EventArgs eArgs) | |
| Visual Basic | Copy Code |
|---|---|
Private Sub rptUnboundGrp_DataInitialize(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.DataInitialize | |
If the output of a field does not match the setting of the FieldType property, Field.DefaultValue takes precedence.