09 2012 档案
摘要:Button1的Click事件: protected void Button1_Click(object sender, EventArgs e) { this.GridView1.DataBind(); }然后修改前台页面,在UpdatePanel中添加如下的属性: <Triggers> <asp:AsyncPostBackTrigger ControlID="Button1" EventName="Click" /> </Triggers>
阅读全文
摘要:设置:HttpCookie cookie = new HttpCookie("cookieName"); cookie.Value = "name1"HttpContext.Current.Response.Cookies.Add(cookie); 读取:HttpContext.Current.Request.Cookies["cookieName"].Value判断cookie是否存在:if(HttpContext.Current.Request.Cookies["cookieName"]==null){//do
阅读全文
摘要:C#读取web.config文件信息web.config<?xml version="1.0"?><!-- 有关如何配置 ASP.NET 应用程序的详细信息,请访问 http://go.microsoft.com/fwlink/?LinkId=169433 --><configuration> <appSettings> <add key="name" value="name1"/> </appSettings></configuration>C#读取
阅读全文
摘要:http://paranimage.com/23-javascript-popup-effects/
阅读全文