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

后端 未结 7 1956
刺人心
刺人心 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 19:07

    Based off option one of Kola's answer you can try this:

    TextBox.Attributes["value"] = "Whatever value goes here";
    

提交回复
热议问题