开发者

Textbox using password mode

开发者 https://www.devze.com 2022-12-11 09:31 出处:网络
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开发者

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

0

精彩评论

暂无评论...
验证码 换一张
取 消