TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
How to Show Password As Char in TextBox in C#
Mukesh Kumar
Nov 28
2015
Code
4.5
k
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
expand
TextBox textBox1 =
new
TextBox();
textBox1.MaxLength = 8;
// Assign the asterisk to be the password character.
textBox1.PasswordChar =
'*'
;
textBox1.CharacterCasing = CharacterCasing.Lower;
C#
SHOW PASSWORD