ReportDataSource.DataSourceId 属性

获取或设置数据源 ID。

命名空间:  Microsoft.Reporting.WebForms
程序集:  Microsoft.ReportViewer.WebForms(在 Microsoft.ReportViewer.WebForms.dll 中)

语法

声明
<WebBrowsableAttribute(True)> _
Public Property DataSourceId As String
[WebBrowsableAttribute(true)]
public string DataSourceId { get; set; }
[WebBrowsableAttribute(true)]
public:
property String^ DataSourceId {
    String^ get ();
    void set (String^ value);
}
[<WebBrowsableAttribute(true)>]
member DataSourceId : string with get, set
function get DataSourceId () : String
function set DataSourceId (value : String)

属性值

类型:String
一个 String 值。

请参阅

参考

ReportDataSource 类

Microsoft.Reporting.WebForms 命名空间