Udostępnij za pośrednictwem


Metoda LocalReport.GetDataSourceNames —

Returns the names of all datasets used within the local report.

Przestrzeń nazw:  Microsoft.Reporting.WinForms
Zestaw:  Microsoft.ReportViewer.WinForms (w Microsoft.ReportViewer.WinForms.dll)

Składnia

'Deklaracja
Public Function GetDataSourceNames As IList(Of String)
public IList<string> GetDataSourceNames()
public:
IList<String^>^ GetDataSourceNames()
member GetDataSourceNames : unit -> IList<string> 
public function GetDataSourceNames() : IList<String>

Wartość zwracana

Typ: IList<String>
An array of string objects that contain the list of dataset names.

Uwagi

You can use the GetDataSourceNames method to verify that you have provided all of the necessary ReportDataSource.

Zobacz też

Informacje

LocalReport Klasa

Przestrzeń nazw Microsoft.Reporting.WinForms