在事件中赋值

 /// <summary>
    /// 属性改变时
    /// </summary>
    /// <param name="sender"></param>
    /// <param name="e"></param>
    protected void txtPassWord_TextChanged(object sender, EventArgs e)
    {
        txtPassWord.Attributes["value"] = txtPassWord.Text;
    }

相关文章:

  • 2022-12-23
  • 2021-12-05
  • 2022-12-23
  • 2022-12-23
  • 2021-09-04
  • 2022-12-23
猜你喜欢
  • 2021-10-22
  • 2021-09-11
  • 2022-12-23
  • 2021-10-01
  • 2022-12-23
  • 2022-12-23
  • 2021-07-20
相关资源
相似解决方案