09 2012 档案

摘要:Button1的Click事件: protected void Button1_Click(object sender, EventArgs e) { this.GridView1.DataBind(); }然后修改前台页面,在UpdatePanel中添加如下的属性: <Triggers> <asp:AsyncPostBackTrigger ControlID="Button1" EventName="Click" /> </Triggers> 阅读全文
posted @ 2012-09-11 10:29 cpcpc 阅读(318) 评论(0) 推荐(0) 编辑
摘要:设置: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 阅读全文
posted @ 2012-09-10 17:44 cpcpc 阅读(75436) 评论(3) 推荐(10) 编辑
摘要: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#读取 阅读全文
posted @ 2012-09-10 17:38 cpcpc 阅读(19028) 评论(1) 推荐(2) 编辑
摘要:http://paranimage.com/23-javascript-popup-effects/ 阅读全文
posted @ 2012-09-06 23:05 cpcpc 阅读(199) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示