Example
The following example assigns the database field "Name" to column 2 and retrieves the database field name assigned to column 3.
Visual Basic
Dim buf As String
' Set the database field for column 2
fpSpread1.Col = 2
fpSpread1.DataField = "Name"
' Get the database field for column 3
fpSpread1.Col = 3
buf = fpSpread1.DataField