Try this one, see the last two answers:
http://expert.csdn.net/Expert/topic/1122/1122481.xml?temp=.3025629
http://expert.csdn.net/Expert/topic/1122/1122481.xml?temp=.3025629
解决方案 »
- 网上搜不出答案的问题:System.InvalidOperationException: This document already has a 'Docume
- 请求解释!!!
- 帮忙改一下这个正则表达式
- 刚开始WindowForm,问个简单问题
- winform下datagrid重绘行问题
- Response.Write("1231231321312");为什么报上下文中未定义?是要包含哪个命名空间?
- Visual Studio 的问题!!!
- 如何给菜单加入事件和处理函数?
- 芝麻开门,你上次教的undo和redo的办法还有点小问题。。。
- 怎么把一个userControl控件转换为一个可在WebForm中使用的 .OCX?
- 大家推荐一下学习C#的书!
- 在Datagrid中,怎样高手,怎样将数据库表中为BIT的字段,读出来后,显示为yes或者no,而不是默认的true or false
TO anna_aiya(哎呀) : 关键是还没有办法判断用户输入为空
使用 RegularExpressionValidator 控件 ValidationExpression \b\d+
加入要求验证 RequiredFieldValidator
RequiredFieldValidator //强制不能为空