Reports for WinForms | ComponentOne
C1.C1Report.4 Assembly / C1.C1Preview.DataBinding Namespace / DataSetField Class / DataSetField Constructor / DataSetField Constructor(String,String)
A string assigned to the name used to identify this field. If the current field is added to a DataSetFieldCollection, this name must be unique within that collection.
The native DB name of this field.

In This Topic
    DataSetField Constructor(String,String)
    In This Topic
    Initializes a new instance of the DataSetField class, assigning the C1.C1Preview.NamedCollectionItem.Name and the associated DB field.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal name As String, _
       ByVal dataField As String _
    )
    public DataSetField( 
       string name,
       string dataField
    )

    Parameters

    name
    A string assigned to the name used to identify this field. If the current field is added to a DataSetFieldCollection, this name must be unique within that collection.
    dataField
    The native DB name of this field.
    See Also