Please wait a minute...
Advanced Search
现代图书情报技术  2005, Vol. 21 Issue (10): 80-83     https://doi.org/10.11925/infotech.1003-3513.2005.10.20
  工作交流 本期目录 | 过刊浏览 | 高级检索 |
应用正则表达式在ASP.NET中实现优化的输入验证方法
刘小波  谢芊  李留英
(解放军南京政治学院上海分院军事信息管理系 上海 200433)
Research of Optimized Input Checking Method Based on ASP.NET with Regular Expression
Liu Xiaobo   Xie Qian   Li Liuying
(Department of Military Information Management, Shanghai Branch of the Nanjing Politics Institute, Shanghai 200433, China)
全文:
输出: BibTeX | EndNote (RIS)      
摘要 

输入验证是Web应用中的常用环节,传统的通过客户端Script进行验证的方法也取得了一定的效果。本文根据.NET平台下的新特点,向大家介绍了利用正则表达式结合ASP.NET服务器端控件进行输入验证的简单方法。

服务
把本文推荐给朋友
加入引用管理器
E-mail Alert
RSS
作者相关文章
关键词 正则表达式ASP.NET输入验证    
Abstract

Input checking is nearly an indispensable job for the Web applications. The traditional method of checking by client side script has also achieved some effectiveness. Combined with the new features of the .NET framework, a new input checking method using ASP.NET server side validator controls with regular expression is introduced in this article.

Key wordsRegular expression    ASP.NET    Input checking
收稿日期: 2005-04-24      出版日期: 2005-10-25
: 

G250.76

 
通讯作者: 刘小波     E-mail: lifewest@163.com
作者简介: 刘小波,谢芊,李留英
引用本文:   
刘小波,谢芊,李留英. 应用正则表达式在ASP.NET中实现优化的输入验证方法[J]. 现代图书情报技术, 2005, 21(10): 80-83.
Liu Xiaobo,Xie Qian,Li Liuying. Research of Optimized Input Checking Method Based on ASP.NET with Regular Expression. New Technology of Library and Information Service, 2005, 21(10): 80-83.
链接本文:  
https://manu44.magtech.com.cn/Jwk_infotech_wk3/CN/10.11925/infotech.1003-3513.2005.10.20      或      https://manu44.magtech.com.cn/Jwk_infotech_wk3/CN/Y2005/V21/I10/80

1Francesco Balena 著,李珂等译. Visual Basic .NET 技术内幕. 北京:清华大学出版社,2003
2Jim Hollenhorst.The 30 Minute Regex Tutorial.31 Dec 2004. http://www.codeproject.com/dotnet/RegexTutorial.asp(Accessed Apr.06,2005)
3Carl Franklin and Gary Wisniewski.Perl Regular Expression Tutorial.http://virtual.park.uga.edu/humcomp/perl/regex2a.html(Accessed Apr.6,2005)
4Steven A. Smith.ASP.NET 中的正则表达式. 17 April 2004,http://www.microsoft.com/china/msdn/library/webservices/asp.net/regexnet.mspx(Accessed Apr.6,2005)
5Jan Goyvaerts.Regex Tutorial.14 January 2005,http://www.regular-expressions.info/tutorial.html(Accessed Apr.20,2005)
6A.M. Kuchling.Regular Expression HOWTO.http://www.amk.ca/python/howto/regex/(Accessed Apr.6,2005)
7Chris Spruck.Regular Expression Basics. 22 March 2002. http://www.evolt.org/article/rating/20/22700/(Accessed Apr.20,2005)
8Microsoft ASP.NET QuickStart Tutorial.http://samples.gotdotnet.com/quickstart/aspplus/(Accessed April.6,2005)
9http://www.regexbuddy.com/regex.html(Accessed Apr.6,2005)
10http://www.linux-france.org/article/appli/emacs/manuel/html/glossary.html(Accessed Apr.6,2005)
11http://www.devincook.com/goldparser/concepts/(Accessed Apr.6,2005)
12http://en.wikipedia.org/wiki/Regular_expression(Accessed Apr.6,2005)

[1] 张红斌, 李广丽. 商品在线评价的情感倾向性分析研究[J]. 现代图书情报技术, 2012, (10): 61-66.
[2] 任瑞娟, 米佳, 濮德敏, 张寿华, 刘丽斌, 王乐. 分布式本体编辑系统的设计与实现[J]. 现代图书情报技术, 2011, 27(3): 9-16.
[3] 原福永,陶凤莉,郭威,周兴林. 基于DotNet的智能模糊搜索系统的实现*[J]. 现代图书情报技术, 2009, 25(7-8): 43-48.
[4] 李晶,倚海伦,师俏梅. 电子期刊数据采集系统的设计与实现[J]. 现代图书情报技术, 2009, 25(6): 81-84.
[5] 邵增荣,李英,范体军. 正则表达式在油价事件网页提取中的应用*[J]. 现代图书情报技术, 2009, 3(2): 83-88.
[6] 蒋南. 基于屏幕保护程序的图书馆信息推送系统的设计和实现[J]. 现代图书情报技术, 2009, 25(12): 69-72.
[7] 刘蓉,王国顺,文亮. 一个基于ASP.NET与Yahoo Web APIs的搜索网站的实现[J]. 现代图书情报技术, 2005, 21(8): 42-44.
[8] 刘登桃. 基于ASP.NET 实现网上书目模糊查询[J]. 现代图书情报技术, 2005, 21(7): 94-96.
[9] 张良,邢伟民. 基于ASP.NET的科技项目网上申报管理系统的设计与实现[J]. 现代图书情报技术, 2005, 21(6): 79-82.
[10] 张健. 基于XML与ASP.NET的图片管理技术[J]. 现代图书情报技术, 2005, 21(4): 83-85.
[11] 王玉梅,陈艳春,韩立华,尹士闪. 基于ASP.NET轻松实现网上学位论文提交[J]. 现代图书情报技术, 2005, 21(2): 74-76.
[12] 李志义,黎恒勇. 用ASP.NET制作学生成绩管理系统[J]. 现代图书情报技术, 2005, 21(1): 67-69.
[13] 周月莲. 用ASP.NET技术打造图书馆信息发布系统[J]. 现代图书情报技术, 2005, 21(1): 73-75.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
版权所有 © 2015 《数据分析与知识发现》编辑部
地址:北京市海淀区中关村北四环西路33号 邮编:100190
电话/传真:(010)82626611-6626,82624938
E-mail:jishu@mail.las.ac.cn