道德经得一:asp.net 关于ajax问题

来源:百度文库 编辑:中科新闻网 时间:2024/07/07 11:31:16
ajax方式执行下面语句发生System.FormatException错误,ds我已经定义了DataSet属性
ds = (DataSet)HttpContext.Current.Cache["ds"];

并已经在private void Page_Load(object sender, System.EventArgs e)
{
HttpContext.Current.Cache.Add("ds",ds,null,Cache.NoAbsoluteExpiration,Cache.NoSlidingExpiration,CacheItemPriority.High,null);
}

你传HttpRequest的脚本是怎么传到那个处理页面的