Initializes a new instance of the DataSetField class, assigning the Name and the associated DB field.

Namespace:  C1.C1Preview.DataBinding
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

C#
public DataSetField(
	string name,
	string dataField
)
Visual Basic
Public Sub New ( _
	name As String, _
	dataField As String _
)

Parameters

name
Type: System..::..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.
dataField
Type: System..::..String
The native DB name of this field.

See Also