ASP.NET中的CompareValidator工具 [英] CompareValidator tool in asp.net

查看:130
本文介绍了ASP.NET中的CompareValidator工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好.
我想要有关ASP中比较验证器工具的信息.
非常感谢.
我的邮件:[REMOVED] @ gmail.com


[edit]电子邮件已删除[/edit]

hello.
i want information about compare validator tool in asp.
thanks a lot.
my mail : [REMOVED]@gmail.com


[edit] Email removed [/edit]

推荐答案

请检查下面的两个链接.
http://msdn.microsoft.com/en-us/library/db330ayw (v = vs.71).aspx [ http://www.w3schools.com/aspnet/control_comparevalidator.asp [
Hi, check the two links below.
http://msdn.microsoft.com/en-us/library/db330ayw(v=vs.71).aspx[^]
http://www.w3schools.com/aspnet/control_comparevalidator.asp[^]


请参考以下主题:
CompareValidator控件 [ ASP.NET CompareValidator控件 [如何在ASP.net中使用CompareValidator控件 [验证-CompareValidator [日期比较验证器的示例控制ASP.NET [ ^ ]
Please refer following threads:
CompareValidator Control[^]
ASP.NET CompareValidator Control[^]
How to use CompareValidator Control in ASP.net[^]
Validation - CompareValidator[^]
Here''s an example of Date Compare Validator Control ASP.NET[^]


< asp:textbox id ="txtpassword" textmode ="password" runat ="server" xmlns:asp =#unknown">

< asp:textbox id ="txtrepassword" textmode ="password" runat ="server" xmlns:asp =#unknown">


<asp:textbox id="txtpassword" textmode="password" runat="server" xmlns:asp="#unknown">

<asp:textbox id="txtrepassword" textmode="password" runat="server" xmlns:asp="#unknown">


<asp:CompareValidator ID="cvp"runat="server" ControlToCompare="txtrepassword"ControlToValidate="txtpassword"

Display="dynamic" ErrorMessage="*" ForeColor="red" ValidationGroup="reg"ValueToCompare="txtpassword"></asp:CompareValidator>


这篇关于ASP.NET中的CompareValidator工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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