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