FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > Column Class : DataField Property |
'Declaration Public Property DataField As String
'Usage Dim instance As Column Dim value As String instance.DataField = value value = instance.DataField
public string DataField {get; set;}
This example returns the DataField of the Column object of a spreadsheet when it is bound to a database.
FarPoint.Web.Spread.Column mycol;
mycol=FpSpread1.ActiveSheetView.Columns[0];
string str=mycol.DataField;
TextBox1.Text=str;
Dim mycol As FarPoint.Web.Spread.Column Dim Str As String mycol=FpSpread1.ActiveSheetView.Columns(0) Str=mycol.DataField() TextBox1.Text=Str
Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional