Textbox using textmode password not showing text asp.net c#

后端 未结 7 2039
刺人心
刺人心 2021-01-31 18:20

I have a few buttons on a web form, and when the user clicks them they will update the the textbox. This worked till I added the textmode = password. Now the textbox doesn\'t sh

7条回答
  •  無奈伤痛
    2021-01-31 18:50

    we cant directly assign values to password text box. for assign values to text box password we should use textbox attributes

    Textbox1.Attributes.Add("value",variable/"string");
    

提交回复
热议问题