Reports for WinForms | ComponentOne
C1.C1Report.4 Assembly / C1.C1Preview.DataBinding Namespace / DataSetField Class / DataField Property

In This Topic
    DataField Property
    In This Topic
    Gets or sets the name of the corresponding DB field in the query.

    If this property is not empty, the field is a data field (as opposed to a calculated field).

    Syntax
    'Declaration
     
    Public Property DataField As String
    public string DataField {get; set;}
    Remarks
    This name does not need to be unique within the containing collection, and multiple DataSetFields may refer to the same DB field.

    Either this property or Expression, but not both, should be defined on a DataSetField. In case both properties are defined, this property is used, and Expression is ignored.

    See Also