讲一个文本框设置为Password后,在对这个文本框复制如这样是不行的
this.txtPass.Text = "123"。
不过可以这样做:
this.txtPass.Attributes.Add("value", "123");
这样,密码框里面就有值了。
Powered by: 博客园 Copyright © 2024 冰碟 Powered by .NET 8.0 on Kubernetes