我本地测试查询数据库一个月的内容用gridview在页面上 ,显示出将近5W条的数据 然后 在根据 人物的ID搜索条数以后,
就直接跳到 dnserror.html了。。
在服务器上 这样操作的话 就提示我,
这样该怎么解决呀~ 我之前一直以为是页面缓存问题,但是我用页面缓存清空
HttpContext.Current.Response.Buffer = true;
HttpContext.Current.Response.Expires = 0;
HttpContext.Current.Response.ExpiresAbsolute = DateTime.Now.AddDays(-1);
HttpContext.Current.Response.AddHeader("pragma", "no-cache");
HttpContext.Current.Response.AddHeader("cache-control", "private");
HttpContext.Current.Response.CacheControl = "no-cache";
的方法 也还是这个问题,跪求帮助呀..
PS:我用小范围日期内的查询都完全没有问题的,如12.1--12.6这样的小范围查询 就不会报错。。一切正常。但是数据一大,就直接报错了。。