Use the FieldName property to associate a column with a field of the grid's underlying data source. The grid column displays data from this field, and posts data back to this field after cell values are modified.
Unbound columns are not associated with a data source's fields. However, these columns must also have their FieldName properties initialized. An unbound column's field name must not match any field in the underlying data source.
To set a caption to be displayed in a column header, use the column's GridColumn.Caption property.
This example shows how to create grid columns that display and allow users to edit data of different types (text, numbers, dates and Boolean values). The specified collection contains columns bound to the data source fields (Product.Name, Product.UnitPrice, Quantity, Date and Shipped), and one unbound column (Total) that displays data values calculated based on the values of other columns.