LocalReport.GetDataSourceNames 方法 ()
發佈時間: 2016年4月
傳回本機報表內所用的所有資料集名稱。
命名空間: Microsoft.Reporting.WinForms
組件: Microsoft.ReportViewer.WinForms (在 Microsoft.ReportViewer.WinForms.dll 中)
語法
public IList<string> GetDataSourceNames()
public:
IList<String^>^ GetDataSourceNames()
member GetDataSourceNames : unit -> IList<string>
Public Function GetDataSourceNames As IList(Of String)
傳回值
Type: System.Collections.Generic.IList<String>
string 物件的陣列,包含資料集名稱的清單。
備註
You can use the GetDataSourceNames method to verify that you have provided all of the necessary ReportDataSource.
請參閱
LocalReport 類別
Microsoft.Reporting.WinForms 命名空間
回到頁首