how to validate textbox in windows application

Posted by Shanky11 under Others on 10/22/2012 | Points: 10 | Views : 3755 | Status : [Member] | Replies : 2
how to validate textbox in windows application
1.entr only aplhabet
2.enter only numbers


in textboxes




Responses

Posted by: Peermohamedmydeen on: 10/22/2012 [Member] Bronze | Points: 25

Up
0
Down
Write your own user control by inherting textbox and add validation. Please find the below links.

http://www.dotnetfunda.com/codes/code959-customized-numeric-text-box-control-in-csharp-winforms.aspx

http://www.dotnetfunda.com/codes/code960-cutomized-alphapet-textbox-in-csharp-winforms.aspx

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

Posted by: Jayakumars on: 10/22/2012 [Member] [MVP] Bronze | Points: 25

Up
0
Down
hi
refer this

http://www.pcreview.co.uk/forums/alphanumeric-character-validation-c-t3104939.html
http://go4answers.webhost4life.com/Example/text-box-validation-csharp-windows-form-67839.aspx
http://www.c-sharpcorner.com/blogs/6473/how-to-check-special-characters-in-the-textbox-in-c-sharp.aspx


Mark as Answer if its helpful to you

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

Login to post response