Spread ASP.NET 6.0 Product Documentation
DataSourceID Property
See Also  Example Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetView Class : DataSourceID Property


Glossary Item Box

Gets or sets the unique identifier of the data source for this sheet.

Syntax

Visual Basic (Declaration) 
Public Property DataSourceID As String
Visual Basic (Usage)Copy Code
Dim instance As SheetView
Dim value As String
 
instance.DataSourceID = value
 
value = instance.DataSourceID
C# 
public string DataSourceID {get; set;}

Property Value

String containing the data source identifier

Example

C#Copy Code
FpSpread1.ActiveSheetView.DataSourceID = "MyDS";

string s = FpSpread1.ActiveSheetView.DataSourceID;
string msg = s;
Response.Write("alert('" + msg + "')");
Visual BasicCopy Code
FpSpread1.ActiveSheetView.DataSourceID = "MyDS"

Dim s As String = FpSpread1.ActiveSheetView.DataSourceID
Dim msg As String = s
Response.Write("alert('" & msg & "')")

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.