View Single Post
Old 08-10-2004, 09:35 PM   #7
ashish
TopHosts Senior Member
 
Join Date: Jul 2004
Posts: 108
ashish will become famous soon enough
Default Re: Basic Information about ASP.NET

Hello Everyone,

Here is some more 411 on ASP.NET

The Third and last control in ASP.NET is the


Validation Server control: As the name suggests, these are controls that perform some kind of validation on data entered by the user.

What is Validation: It is a way of checking that the data entered by the user is correct and relevant before a action is performed otherwise a error message is generated to the user. There can be many different kinds of validations.

For Example you might want to validate the age of a person, i.e. in a member registration form you might want the user to be of a specific age before S/he is allowed to register, you can do that by validating the age of the person and informing them if they are below the age.

Validations can also be used to make suer that a particular data is filled by the user for example the password field in some registration forms.

Another kind of validation that you can make is that a field should hold only a certain type of data, like the 'Name' Field in a form should only accept characters and if there are any other characters present then the user should be informed of the error.


ASP.NET comes bundled with a good amount of validation controls, like most languages it allows you to make your own validation criteria as well

Again these controls must be coded in the <form> tag with the runat "server" attribute and a id.


for more information you can visit:
www.411asp.net
www.w3schools.com
www.codewanker.com
__________________
Cheers,
Ashish
M6.Net - ASP Hosting, ASP.Net Hosting
ashish is offline   Reply With Quote