.rdlc Report - Cannot create a data reader for dataset 'DataSet1'

后端 未结 11 1573
刺人心
刺人心 2020-12-10 00:31

I have created a .rdlc-Report under VS 2012 using the report wizard and added data source and dataset. When I try to render the report using the code below I get following e

11条回答
  •  孤城傲影
    2020-12-10 01:21

    Please Check Your DataSet Name Is Correct or not.

     reportDataSource = new ReportDataSource
        {
           Name = "DataSet1",// Check This Line. Are You Sure DataSet Name is Correct?
           Value = ListData 
        };
    

提交回复
热议问题