LocalReport.GetDataSourceNames Method ()
Returns the names of all datasets used within the local report.
Namespace: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (in Microsoft.ReportViewer.WinForms.dll)
Syntax
public IList<string> GetDataSourceNames()
public:
IList<String^>^ GetDataSourceNames()
member GetDataSourceNames : unit -> IList<string>
Public Function GetDataSourceNames As IList(Of String)
Return Value
Type: System.Collections.Generic.IList<String>
An array of string objects that contain the list of dataset names.
Remarks
You can use the GetDataSourceNames method to verify that you have provided all of the necessary ReportDataSource.
See Also
LocalReport Class
Microsoft.Reporting.WinForms Namespace
Return to top