验证简单的Web表单 [英] validation of simple web form

查看:79
本文介绍了验证简单的Web表单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在c#中验证包含两个文本框的简单Web表单,一个只接受文本,另一个只接受整数,所以请给我解决方案

how to validate a simple web form in c# that include two text boxes, one accepting only text and other one accept only integers so please give me solution

推荐答案

访问这里..



http://dzineblog.com/2009/11/18-impressive-web-form-validation-scripts-to-enhance-user-experience.html [<一个href =http://dzineblog.com/2009/11/18-impressive-web-form-validation-scripts-to-enhance-user-experience.html\"target =_ blanktitle =新窗口> ^ ]
visit here..

http://dzineblog.com/2009/11/18-impressive-web-form-validation-scripts-to-enhance-user-experience.html[^]


可以轻松实现



1.使用javascript

2. VS中的验证控件



Google it。本文中有大量文章
It can be easily achieved by

1.Using javascript
2.Validation Controls in VS
3.FilteredTextBoxExtender from ajaxcontrol toolkit

Google it.There are tons of article in this


这是一个非常简单的ajax扩展器,它是一个非常简单的过程,有一个或两个步骤







如果你没有ajax工具包请为你的Visual工作室下载它将部分关于网页表格的问题







谢谢你!!!
that is quite simple ajax extender it is very simple process with one or two steps



if u dont have a ajax toolkit please download it for your Visual studio it will part of your problem regarding web forms



thank u!!!


这篇关于验证简单的Web表单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆