Solved

how can i make textbox for password that only accept character , special character and (0-9) ??

Posted on 2011-02-10
2
478 Views
Last Modified: 2012-05-11
i want to make textbox for password that only accept character , special character and (0-9) in C# .net window application...

just follow the below link ..

http://onlinepasswordgenerator.com/cgi-bin/password.cgi
how can i design textbox for that ???
0
Comment
Question by:Parth48
2 Comments
 
LVL 10

Accepted Solution

by:
Asim Nazir earned 500 total points
ID: 34868625
Hi,

You can use a regular expression like "^[a-zA-Z0-9_]*$" to validate input or you can also use a mask with normal textbox control.

I hope this helps....
Thanks.
0
 
LVL 6

Expert Comment

by:kswathi
ID: 34868629
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question