Click here to Skip to main content
15,893,588 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i want to use validation control in my window based application in c# .net can i use that & how
Posted

You can use the ErrorProvider component, which shows the user there's a problem and provides a tooltip with extra information...

Check This Example
Link here[^]
 
Share this answer
 
You can't ever use ASP.NET based controls in winforms. If you think you might be able to, it's a sign you have absolutely no idea what ASP.NET is or how it works. You should read some basic books.

As someone else said, there are controls you can use in winforms. You can also just write your own validation code, winforms is a lot more flexible to start with. There's a maskededitbox for a start, although I prefer not to use it, it does allow you to validate input.
 
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