LocalReport.GetDataSourceNames 方法

Returns the names of all data sources used within the local report.

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

语法

声明
用法

返回值

An array of String objects containing the list of data source names.

备注

You can use the GetDataSourceNames method to verify that you have provided all of the necessary ReportDataSource objects for a subreport that is loaded by LoadSubreportDefinition.

另请参见

参考

LocalReport 类
LocalReport 成员
Microsoft.Reporting.WebForms 命名空间