Types of validation controls in asp.net, DOT NET Programming

How many types of validation controls are provided by ASP.NET 

The six main types of validation controls are as follows:-

1) Required Field Validator: This validator checks whether the control have any value . It is used when you want that the control should not be empty.

2) Range Validator: This validator  checks if the value in validated control is in that specific range. For example the TxtCustomerCode should not be more than eight in length.

3) Compare Validator: This validator checks that the value in controls should match the value in other control. Example the Textbox TxtPie should be equal to 3.14.

4) Regular Expression Validator: Whenever  we want that the control value should match with a specific regular expression.

5) Custom ValidatorThis validator  is used to define the UserDefined validation.

6) Validation Summary : This validator displays summary of all current validation errors.

Posted Date: 9/22/2012 3:36:50 AM | Location : United States







Related Discussions:- Types of validation controls in asp.net, Assignment Help, Ask Question on Types of validation controls in asp.net, Get Answer, Expert's Help, Types of validation controls in asp.net Discussions

Write discussion on Types of validation controls in asp.net
Your posts are moderated
Related Questions
Describe the EventLog class. The EventLog class is used to access the Windows event logs from Windows services. Using EventLog, you can also customize Windows event logs that r

what is the code for calculator in windowsapplication

hello,i want to ask that i have to make a test taker just like a quiz in vb.net which should b like mcq''z one...it must contain a connectivity with database of oracle or MS access

What is a project baselines? The Project base line defines a logical closure of any deliverable or cycle. For example you have done the requirement phase with sign off from the

How is a property designated as read-only?  In VB.NET: Public Read-Only Property Property Name  As Return Type Get ?Your Property execution goes in here End Get End Property.

What is the use of data adapter? The Data adapter are the objects that connect one or more Command objects to a Dataset object. They give logic that would get data from the dat

The SQL cache dependencies is a new characteristic in ASP.NET 2.0 which can automatically invalidate a cached data object (like a Dataset) when the related data is modified in the

Write the basic steps to execute a LINQ query. The following are the three basic steps to execute a LINQ query:     Obtain the data source (The data source can be either an

Write a program of console statements - C# Program I am unable to make out the use of console statements in C# language. Can anyone suggest me any example for this.

What is the difference between Convert.toString and .toString() method To know the difference between Convert.toString and .toString() see the below code : int i =0; Mess