Spread for ASP.NET 11 Product Documentation
DataSourceID Property (SheetView)
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetView Class : DataSourceID Property
Gets or sets the unique identifier of the data source for this sheet.
Syntax
'Declaration
 
Public Property DataSourceID As String
'Usage
 
Dim instance As SheetView
Dim value As String
 
instance.DataSourceID = value
 
value = instance.DataSourceID
public string DataSourceID {get; set;}

Property Value

String containing the data source identifier
Example
FpSpread1.ActiveSheetView.DataSourceID = "MyDS";

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

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

Reference

SheetView Class
SheetView Members

User-Task Documentation

Managing Data Binding