Saturday, May 22, 2010

What is the C# code for login password to be dots.?

I will assume you are working with a webform.





Set the TextMode property of the TextBox to Password as in





%26lt;asp:TextBox id="TextBox1" runat="server" TextMode="Password"/%26gt;





Thank You.

What is the C# code for login password to be dots.?
Add a password box on your form instead of a normal editbox and you will get dots when you type something in it.


No comments:

Post a Comment