什么是asp.net应用程序中的验证? [英] What is Validation in asp.net application ?

查看:63
本文介绍了什么是asp.net应用程序中的验证?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么是验证?

什么是服务器端验证和客户端验证?

除了这些之外还有其他验证吗?

有没有数据库验证?

是否有任何会话验证?



Sombody请帮助我,我对此感到困惑。

What is validation ?
what is server side validation and client side validation ?
Is there any other validation apart from these ?
Is there any database validation ?
Is there any session validation ?

Sombody please help me i am totally confused in this.

推荐答案

查看服务器端控件 -

http://www.w3schools.com/aspnet/aspnet_refvalidationcontrols.asp [ ^ ]

http://msdn.microsoft .com / zh-cn / library / bwd43d0x [ ^ ]



客户端可以用JQuery或Javasc等脚本语言完成ript。

您可以使用第三方或构建自己的客户端验证。
Have a look at server side controls -
http://www.w3schools.com/aspnet/aspnet_refvalidationcontrols.asp[^]
http://msdn.microsoft.com/en-us/library/bwd43d0x[^]

Client side can be done in a scripting language like JQuery or Javascript.
You can use third party or build your own client side validation.


什么是验证?

验证Wiki [ ^ ]



什么是服务器端验证和客户端验证?

服务器端验证与客户端验证之间的区别/ [ ^ ]

客户端验证 - vs-服务器端-validation.aspx [ ^ ]



除了这些还有其他验证吗?

它取决于场景,大多数验证将涵盖在服务器/客户端下



有没有数据库验证?

是的,很多验证(取决于您的要求,例如:在使用相同的名称创建之前检查表中的用户名,就像那样...... ............



是否有任何会话验证?



例如:检查会话中的特定密钥



注意:您可以通过Google获取有关上述主题的详细信息:)
What is validation ?
Validation Wiki[^]

what is server side validation and client side validation ?
difference-between-server-side-validation-and-client-side-validation/[^]
client-side-validation-vs-server-side-validation.aspx[^]

Is there any other validation apart from these ?
It Depends on the scenario, Most of the validations will be covered under Server/Client

Is there any database validation ?
Yes, lot of validation ( depends on your requirement , for eg: check the user name in the table before creating with the same name, like that..............)

Is there any session validation ?
Yes
eg: check for a particular key in the session

note: You can Google for detailed Info on the above topics :)


这篇关于什么是asp.net应用程序中的验证?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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