Spread ASP.NET 14
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / SheetView Class / DataSourceID Property
Example


In This Topic
    DataSourceID Property (SheetView)
    In This Topic
    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