Set TextMode property to Password - Create a TextBox for retrieving password from user - ASP.NET
Q. How do you create a TextBox for retrieving a password from a user?- Published on 28 Jul 15a. Set TextMode property of the TextBox control to Secret.
b. Set Mode property of the TextBox control to Password.
c. Set Text property of the TextBox control to Password.
d. Set TextMode property of the TextBox control to Password.
ANSWER: Set TextMode property of the TextBox control to Password.