a data source instance has not been supplied for the datasource 'dataset1'. rdlc
生活随笔
收集整理的這篇文章主要介紹了
a data source instance has not been supplied for the datasource 'dataset1'. rdlc
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
原因是你沒有把數據綁定到rdlc的dataset.
這里的DataSet1是rdlc文件中的數據集。
所以,使用notepad將rdlc文件打開,把DataSet1更換為ReportData_DataSet就能解決這個問題。
ReportViewer1.LocalReport.DataSources.Add(New _Microsoft.Reporting.WebForms.ReportDataSource("ReportData_DataSet", resultData))?
轉載于:https://www.cnblogs.com/Dannier/archive/2012/07/17/2595530.html
總結
以上是生活随笔為你收集整理的a data source instance has not been supplied for the datasource 'dataset1'. rdlc的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: GFS - The Google Fil
- 下一篇: select下拉框美化