Validation controls in ASP DOT NET
What are validation controls? How many validation controls are present in ASP.NET 4.0?
Expert
The Validation controls are responsible to authenticate data of the input control. Every time we provide some input to the application, it carries out validation and displays the error message to user, if validation fails.
Six types of validation controls in ASP.NET 4.0 are as follows:
i. ValidationSummary – It displays the summary of every validation error in the central location. ii. CompareValidator – It performs the comparison among values contained in the two controls. iii. RegularExpressionValidator – It ensures which input is according to specified pattern or not. iv. CustomValidator – It writes our own method to do added validation. v. RangeValidator- It checks value according to range of the value. vi. RequiredFieldValidator – It checks either the control is empty or not.
Write the namespaces which are required to enable the use of databases in the ASP.NET pages?
Write the name of namespaces which are required to allow the use of the databases in the ASP.NET pages?
Write the difference between globalization and localization?
What do you understand by the garbage collection? Explain the difference between garbage collections in .NET 4.0 and its earlier versions.
Explain about the DataContext class and also how it is related to the LINQ?
In what way we can unselect a selected item in the ListView control programmatically in the .NET 4.0?
What is Code Access Security (CAS)?
Specify various types of assemblies and explain them.
Differentiate between the ComboBox control and the ListBox control?
List the types of data types that are present in .NET?
18,76,764
1950504 Asked
3,689
Active Tutors
1461045
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!