简体   繁体   中英

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 assigning 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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM