您好,是可以设置column绑定的
' Turn off automatic column and field mapping.
FpSpread1.Sheets(0).AutoGenerateColumns = False
' Bind the component to the data set.
FpSpread1.DataSource = DataSet1
' Set the fields for the columns.
FpSpread1.Sheets(0).Columns(0).DataField = "Description"
FpSpread1.Sheets(0).Columns(1).DataField = "ID"
FpSpread1.Sheets(0).Columns(2).DataField = "LeadTime"
FpSpread1.Sheets(0).Columns(3).DataField = "Price"
|