Textbox using password mode
Hi I am using a text box with Password mode. And inserting the value using encryption. After that while updating the information I have to display the text again using password mode. But While a开发者_开发技巧ssigning the data It is not displaying it in the textbox. How can I overcome this?
pretty simple...
txtbox1.Attributes.Add("value", "yourValue");
TextBox_admin_password.Attributes.Add("value",showInfo.password);
the first parameter of Add() method is Key value and can be any value as desired by user and the second parameter is password that user retrieves from database or any source
Try the following link :
http://www.codeproject.com/KB/custom-controls/ASPNET_Password_TextBox.aspx
精彩评论