如何清除在C#Windows应用程序的文本框中输入的值? [英] How do I clear value entered in a Textbox of a C# Windows application?
本文介绍了如何清除在C#Windows应用程序的文本框中输入的值?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在Windows应用程序中有一个gridview。
i已根据id和date设置了从表中获取列的过滤器。
i需要在按下显示按钮后清除文本框中输入的值。
1.开斋节:eidToolStriptextBox显示(按钮)
2.日期:DateToolStripTextBox显示(按钮)
解决方案
文本框。 Clear()将清除文本框中的值
I have a gridview in windows application.
i have put filters like getting columns from the table basing on id and date.
i need to clear the value entered in the textbox after pressing the show button.
1. Eid: eidToolStriptextBox Show (Button)
2. Date: DateToolStripTextBox Show (Button)解决方案Textbox.Clear() will clear the value from the text box
这篇关于如何清除在C#Windows应用程序的文本框中输入的值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文