Explore BrainMass

Clear Data from Textbox and Masktextboxes

I am using Visual Basic.NET with Microsoft Visual Studio 2005. I have a project with a User Control that I have created. I have a button that I named Clear. I need to clear the data from my maskedtextbox named "mtbPAC". Once I click the button Clear the data needs to be removed from the maskedtextbox. If someone has code that can do this please forward it to me, thanks. The code should also be able to remove multiple textboxes not just one textbox or maskedtextbox.

Solution Preview

I believe you are looking for the ResetOnPrompt

** @property */
public boolean get_ResetOnPrompt ...