How to set value to a textbox with textmode as password from code behi(interviews.dotnetthread.com)
submitted by
abomnkv(250) 3 years, 5 months ago
If we have a textbox with text mode as password and if we want set value(Password) from code behind file(.cs file) then we should do like this for showing text as "*****" in the UI.
TextBox1.Attributes.Add("value", "passwordfromDB");
|category: ASP.NET
|Views: 18
tags:
ASP.NET another
Everyones tags:
Your Tags: