更新时间:2021-10-03 02:35:10
在任何想要清除文本框值的位置设置textbox1.text = string.empty。
Set textbox1.text=string.empty wherever you want to clear the textbox value.
I认为重置文本框的唯一方法是使用javascript
I think the only way to reset a textbox is to use a javascript
document.getElementById("<%= TextBox1.ClientID %>").value = "";