| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
共有 661 人关注过本帖
标题:ASP.NET验证问题.
只看楼主 加入收藏
cql
Rank: 1
等 级:新手上路
帖 子:26
专家分:0
注 册:2005-4-17
收藏
 问题点数:0 回复次数:1 
ASP.NET验证问题.
    请问要验证一个输入框输入的字符长度不能超过某个值要用什么验证控件?具体怎么实现?如果用正则表达式要怎么写?谢谢!

/pa?p=1:123440016:10" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open('http://wpa./pa?p=1:123440016:10');}" onmousewheel="return imgzoom(this);" alt="" />/msgrd?V=1&Uin=123440016&Site=im.&Menu=yes" target="_blank">点击这里给我发消息
2005-08-20 15:50
飘飘and栋栋
Rank: 1
等 级:新手上路
帖 子:24
专家分:0
注 册:2005-9-7
收藏
得分:0 
可以 用rangevalidator控件,设置他的不同属性
2005-09-10 12:05
快速回复:ASP.NET验证问题.
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.016842 second(s), 9 queries.
Copyright©2004-2025, BC-CN.NET, All Rights Reserved