ReportDataSource reportDataSource = new ReportDataSource("DataSet1", MvcApplication1.Models.Users.GetAllSys_tUserInfos());
ReportDataSource中的name 请与rdlc文件中的dataSet Name保持一致!
本文详细介绍了如何使用ReportDataSource来创建RDLC报表,并强调了name属性与dataSetName的一致性要求。
ReportDataSource reportDataSource = new ReportDataSource("DataSet1", MvcApplication1.Models.Users.GetAllSys_tUserInfos());
ReportDataSource中的name 请与rdlc文件中的dataSet Name保持一致!
454

被折叠的 条评论
为什么被折叠?