Spread for ASP.NET 7.0 Product Documentation
DataSourceID Property
See Also  Example Support Options
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 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

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.