只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2015-08-14 10:55 只是很孤单 阅读(86) 评论(0) 推荐(0) 编辑
摘要: 校园风光 阅读全文
posted @ 2015-09-23 16:37 只是很孤单 阅读(278) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-09-23 16:34 只是很孤单 阅读(436) 评论(0) 推荐(0) 编辑
摘要: //定义方法publicpartialclassVerificationCode:System.Web.UI.Page{stringImagePath="images/validator.jpg";stringsValidator="";protectedvoidPage_Load(objectse... 阅读全文
posted @ 2015-09-23 15:30 只是很孤单 阅读(3048) 评论(0) 推荐(0) 编辑
摘要: 当前时间是: 阅读全文
posted @ 2015-09-23 15:20 只是很孤单 阅读(243) 评论(0) 推荐(0) 编辑
摘要: 全选foreach(GridViewRowgvinGridView1.Rows){CheckBoxcb=(CheckBox)gv.FindControl("CheckBox1");cb.Checked=true;}删除for(inti=0;i<GridView1.Rows.Count;i++){Ch... 阅读全文
posted @ 2015-09-23 14:54 只是很孤单 阅读(154) 评论(0) 推荐(0) 编辑
摘要: protectedvoidbtnUp_Click(objectsender,EventArgse){stringsavePath=@"images/";//图片保存路径stringfileName=Server.HtmlEncode(picupload.FileName);stringextensi... 阅读全文
posted @ 2015-09-23 14:51 只是很孤单 阅读(286) 评论(0) 推荐(0) 编辑
摘要: if(Session["Pro"]==null){DataTabledt=newDataTable();dt.Columns.Add("_id",typeof(int));//商品iddt.Columns.Add("_title",typeof(string));//商品名dt.Columns.Ad... 阅读全文
posted @ 2015-09-23 14:46 只是很孤单 阅读(166) 评论(0) 推荐(0) 编辑
摘要: asp.net 验证正则表达式整数或者小数:^[0-9]+\.{0,1}[0-9]{0,2}$只能输入数字:"^[0-9]*$"。只能输入n位的数字:"^\d{n}$"。只能输入至少n位的数字:"^\d{n,}$"。只能输入m~n位的数字:。"^\d{m,n}$"只能输入零和非零开头的数字:"^(0... 阅读全文
posted @ 2015-09-23 14:42 只是很孤单 阅读(118) 评论(0) 推荐(0) 编辑
摘要: 1、引入命名空间 usingSystem.Web.SessionState2、必须实现接口 publicclassLogin:IHttpHandler,IRequiresSessionState3、调用context.Session["user_Message"]=Email; 阅读全文
posted @ 2015-09-23 14:32 只是很孤单 阅读(157) 评论(0) 推荐(0) 编辑
摘要: MicrosoftVisualStudio 2010 产品密钥:YCFHQ-9DWCY-DKV88-T2TMH-G7BHPMicrosoftVisualStudio 2013 产品密钥:BWG7X-J98B3-W34RT-33B3R-JVYW9 阅读全文
posted @ 2015-09-23 14:28 只是很孤单 阅读(2362) 评论(0) 推荐(0) 编辑