关联词的关系:asp.net 关于ajax问题

来源:百度文库 编辑:查人人中国名人网 时间:2024/05/11 23:42:41
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的脚本是怎么传到那个处理页面的