重新启程

导航

2012年3月1日 #

尚未为数据源“RptDataSet_StatEC”提供数据源实例

摘要: reportview控件,用rdlc做报表,aspx页面加入reportview控件显示我在前端用代码得到的dataset做数据源,结果出现问题:尚未为数据源“RptDataSet_StatEC”提供数据源实例。代码如下:DataSet ds =GetDataSet();//GetDataSet()方法可能会得到空值RptView.LocalReport.ReportPath=Server.MapPath( ".")+ "\\RptFile\\RPStatEC.rdlc ";//RPStatEC.rdlc为要展现的报表RptView.LocalRepor 阅读全文

posted @ 2012-03-01 23:54 peggy89321 阅读(1516) 评论(0) 推荐(1) 编辑