asp.net session has expired or could not be found VS2010 : 在web应用程序中的Microsoft.ReportViewer Version=10.0.0.0,客户端在使用时经常会报:ASP.NET session has expired or could not be found,刷新下Report又能正常顯示,過段時間刷新可能又會出現...有碰到過解決了該問題的嗎??? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 打开(enable) autorefresh 属性 打开(enable) autorefresh 属性沒有找到autorefresh這個屬性呀... 加上代碼寫法: DataTable dtValue = GetValue(); ReportDataSource dsValue = new ReportDataSource("DataTable_dtValue", dtValue); rvReport.Reset(); rvReport.LocalReport.DataSources.Clear(); rvReport.ProcessingMode = ProcessingMode.Local; rvReport.LocalReport.DataSources.Add(dsValue ); rvReport.LocalReport.ReportPath = "Reprot.rdlc"; rvReport.LocalReport.Refresh(); http://msdn.microsoft.com/zh-cn/library/microsoft.reportingservices.reportrendering.report.autorefresh.aspx http://www.morrenth.com/handle-error-aspnet-session-has-expired-or-could-not-be-found-at-microsoftreportingwebformsviewerdataoperation.aspx这个里面讲了两个方法 控件显示问题 问一些关于MVC的基础问题 问一个数据库设计思路 动态添加录入项 asp.net中调用存储过程 页面退出可以后退或前进,安全吗!不安全,如何避免! 求一段.NET中用的备份sql数据库的代码或SP 救救小弟呀100分 两个DataList嵌套后怎样FindControl内部DataList的子控件呀 求一个插入数据库数据的判断方法? 在datalist中的gridview上绑定数据 级别与分数 关于Respone.Write写JS URL重写后路径重复了
DataTable dtValue = GetValue();
ReportDataSource dsValue = new ReportDataSource("DataTable_dtValue", dtValue);
rvReport.Reset();
rvReport.LocalReport.DataSources.Clear();
rvReport.ProcessingMode = ProcessingMode.Local;
rvReport.LocalReport.DataSources.Add(dsValue );
rvReport.LocalReport.ReportPath = "Reprot.rdlc";
rvReport.LocalReport.Refresh();