Solved

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

Posted on 2011-02-10
2
477 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

839 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