在Page_Load里面加上
this.txtPassword.Attributes["value"] = this.txtPassword.Text;
ASP.NET 处理回发密码框清空的问题
原文:http://blog.csdn.net/qq873113580/article/details/18262983