Adding validation to text box.

Posted by Achiever_Aman under ASP.NET on 7/28/2013 | Points: 10 | Views : 1475 | Status : [Member] | Replies : 3
How to add validation in textbox in window's form.
Adding validation control in web form is quite easy as it is available in toolbox but in windows form, toolbox doesnot show validation control. PLease help..

Achiever_aman


Responses

Posted by: aswinialuri-19361 on: 7/28/2013 [Member] Starter | Points: 25

Up
0
Down
Hi
refer this link it might be usefull to you
http://www.codeproject.com/Articles/13922/Validate-user-input-in-Windows-Forms

http://www.dotnetfunda.com/forums/thread12068-how-to-validate-textbox-in-windows-application.aspx

Mark as Answer if it helps you
Thanks&Regards
Aswini Aluri

Achiever_Aman, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Bandi on: 7/29/2013 [Member] [MVP] Platinum | Points: 25

Up
0
Down
Hi Aman Agarwal,
You can check the logic here
http://www.dotnetfunda.com/forums/thread15754-donot-allow-any-space-in-textbox.aspx
Approch is:
You have to write your own logic to validate TextBox

Mark This Response as Answer
--
Chandu
http://www.dotnetfunda.com/images/dnfmvp.gif

Achiever_Aman, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ssj_Kumar on: 7/29/2013 [Member] Starter | Points: 25

Up
0
Down
What type of validation you need to do, In Windows form there is no validation controls, you need to write your own validations
let us know what validation you need, we will support

Regards,
Jayakumar Selvakani

Achiever_Aman, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response