input text have to be number or character
来源:互联网 发布:淘宝刚买的东西失效了 编辑:程序博客网 时间:2024/04/29 14:49
Regex reg = new Regex(@"[^a-zA-Z0-9]$");
Match m = reg.Match(textInput.ToString());
if (m.Success)
{
Page.RegisterStartupScript("VALIDATE", "<script>alert('You can only input character or numberic only')</script>");
return;
}
- input text have to be number or character
- changing an uncontrolled input of type text to be controlled
- To be or not
- 'mvc:annotation-driven' must have no character or element问题
- 'mvc:annotation-driven' must have no character or element问题
- 'mvc:annotation-driven' must have no character or element问题
- To be or not to be
- To be or not to be
- To be or not to be
- TO BE OR NOT TO BE
- To be or not to be
- To Be or Not To Be
- to be or not to be
- to be or not to be
- Invalid null character in text to output
- To Be of Not To Be ,or to Be Null
- The Webpage might be temporarily down or it may have moved permanently to a new web address解决
- To Be NUMBER ONE + 数论
- 为动态生成的html元素增加事件处理
- tomcat的配置
- validate url exists using javascript
- validate url security
- MOSS 中 MasterPage 里面所有占位符列表
- input text have to be number or character
- move cursor by key board
- X window 中实现资料的共享和交换
- 最新三维立体画·换个角度看世界
- 约定
- 算法入门题
- TChart控件的BUG?
- 页面(PAGE)标记(TAGS)
- j2me 减少三次握手的时间(减少连结网络的时间)