![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ASP.NET(C#)
Hughw
这个作者很懒,什么都没留下…
展开
-
使用Custom Validator控件设置Textbox文本框输入长度
使用Custom Validator控件设置Textbox文本框输入长度 步骤: 1、在工具箱中找到CustomValidator控件,并根据以下内容设置其属性 ClientValidationFunction="string" ControlToValidate="TextBox1" Display="Dynamic" ErrorM转载 2013-11-08 11:23:53 · 801 阅读 · 0 评论 -
关闭框架页面
关闭框架页面 if(Page.IsPostBack) { } else { this.btnZX.Attributes.Add("onclick","return confirm('您确定要注销系统吗?')"); this.btnClose.Attributes.Add("onclick","return confirm('您确定要退出系统吗?')"); } private vo转载 2013-11-08 20:24:30 · 492 阅读 · 0 评论 -
关闭当前页面
if(Page.IsPostBack) { } else { this.btnClose.Attributes.Add("onclick","return confirm('您确定要退出系统吗?')"); } private void btnClose_Click(object sender, System.EventArgs e) { Session.Remove("userA转载 2013-11-08 20:27:41 · 613 阅读 · 0 评论