AxpDataGrid

AxpDataGrid.FormDisplayFieldNames Property

User defined Column Captions used in Form View and Edit Mode.

[Visual Basic]
Public Property FormDisplayFieldNames As String
[C#]
public string FormDisplayFieldNames {get; set;}

Property Value

Comma separated list of column names

Remarks

It is required to set FormDisplayFieldNames (or EditFieldItem.Caption) when FormSQL differs from normal SQL and GridDisplayFieldNames is set.

FormDisplayFieldNames defaults to GridDisplayFieldNames, so always set FormDisplayFieldNames after setting GridDisplayFieldNames.

If you want to use the database table column names in Form Mode set FormDisplayFieldNames="" after setting GridDisplayFieldNames.
See also the SetEditField method.

See Also

AxpDataGrid Class | Axezz.WebControls Namespace