Click here to Skip to main content
15,923,087 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,
What are the validation controls are available in C# and Asp.net and how to execute it. Can anyone help me???

Regards
Balamurugan
Posted
Updated 30-Jul-12 19:44pm
v3
Comments
[no name] 30-Jul-12 23:56pm    
Thanks to everyone who teached me in a right path for validation control in asp.net. I need to use the same process in c# for eg: what we are typing in password we want to type in confirm password else it should shows error...
_Amy 30-Jul-12 23:57pm    
See my updated answer. There is an example with both the links.
[no name] 31-Jul-12 1:26am    
I'm asking in c#...
_Amy 31-Jul-12 1:30am    
I have given the links which explains everything in c# only, not in java.
[no name] 31-Jul-12 1:38am    
I'm doing windows project not web project so need coding in C# not asp.net...

Check Understanding ASP.NET Validation Techniques[^].
It is a very nice article.
 
Share this answer
 
There are validation controls for ASP.NET not for C#.
Read the following links for basics of these controls,

http://www.dotnetfunda.com/articles/article785-how-to-use-validation-controls-in-aspnet.aspx[^]
http://www.w3schools.com/aspnet/aspnet_refvalidationcontrols.asp[^]
Validator Controls in ASP.NET[^]

Happy Coding!!! :)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900