susanthosh
susanthosh

Reputation: 450

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?

Upvotes: 3

Views: 8141

Answers (2)

Muhammad Akhtar
Muhammad Akhtar

Reputation: 52241

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.

Upvotes: 5

Related Questions