Binds the model column to the data source column.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim instance As SheetView
Dim column As Integer
Dim columnName As String
instance.SetModelDataColumn(column, columnName) |
Parameters
- column
- Model column index
- columnName
- Name of the data source column
Example
This example illustrates the use of this member by setting the column to bind to the data source field.
C# | Copy Code |
---|
FarPoint.Web.Spread.SheetView sv;
sv = FpSpread1.ActiveSheetView;
sv.SetModelDataColumn(0, "Owner");
sv.SetModelDataColumn(1, "State");
sv.SetModelDataColumn(2, "City");
|
Visual Basic | Copy Code |
---|
Dim sv As FarPoint.Web.Spread.SheetView
sv = FpSpread1.ActiveSheetView
sv.SetModelDataColumn(0, "Owner")
sv.SetModelDataColumn(1, "State")
sv.SetModelDataColumn(2, "City") |
Requirements
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6
See Also