ASP.NET开发的时候,textbox控件在password模式下,回传丢失的问题

主要解决方案:

在 page_load里写一行代码:

protected void Page_Load(object sender, EventArgs e)
        {
            Textbox.Attributes["value"] = Textbox.Text;
        }

你可能感兴趣的:(开发,解决方案,password,textbox)