private void Page_Load(object sender, System.EventArgs e)
{
this.txtPwd.Attributes.Add("value", txtPwd.Text.Trim());
this.txtRePwd.Attributes.Add("value", txtPwd.Text.Trim());
}
转载于:https://www.cnblogs.com/RobotTech/archive/2007/01/13/619729.html