摘要:
Cache用法之页面声明<%@outputCacheDuration="#ofseconds"Location="Any|Client|Downstream|Server|None"VaryByControl="ControlName"VaryByCustom="browser|customstring"VaryByHeader="headers"VaryByParam="Parametername"%>Cache用法之代码控制HttpCachePolicy类是专 阅读全文
摘要:
1.当使用postbackurl向目标页提交参数的时候可以使用以下方法。DropDownList d = (DropDownList)PreviousPage.FindControl("");2. cookie的使用 //种cookie HttpCookie cookie = new HttpCookie("myCookie"); cookie.Values.Add("mystate", "123"); cookie.Values.Add("mystate1", "456") 阅读全文