Ask Experts Questions for FREE Help !
    Mistery1's Avatar
    Mistery1 Posts: 39, Reputation: 1
    Junior Member

    Aug 20, 2009, 07:37 AM
    Clear Textboxes
    Hi there,

    I am using the wizard to retrieve data from a database - vb. Basically I have 2 textboxes and a dropdown list. At runtime when I search using the textboxes and dropdown listbox and click on a search button, the data is populated into a datagrid.

    I need to know how to clear the textboxes and the dropdown listbox after the data is populated to the datagrid so that I can search for something new.

    zerihun_m's Avatar
    zerihun_m Posts: 4, Reputation: 1
    New Member

    Oct 7, 2009, 11:32 PM

    u can use this code to clear textboxs

    steadysimple's Avatar
    steadysimple Posts: 9, Reputation: 1
    New Member

    Mar 28, 2010, 08:07 PM

    TextBox.Text = "" ---> Text Box
    List1.Clear ---> ListBox
    Combo1.Clear ---> ComboBox

Not your question? Ask your question View similar questions


Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.

Check out some similar questions!

Trying to get pool clear [ 1 Answers ]

I have an 18'' by 4'' easy set pool. To start we have well water with iron in it, so the water was bad to start. We are new at this so we asked friends on how to clear the water up but I think it is getting worst. The last thing we this was add a lot of corine to it yesterday. Now I went out...

Clear run menu [ 1 Answers ]

Hi :) How can I clear the Run menu in start menu :confused:

Clear history [ 1 Answers ]

Anyone know how to clear history of internet sites when it is not highlighted

Clear abs [ 2 Answers ]

How can I have more clearity in my abs?

Clear bra [ 1 Answers ]

Hello pretty lady, I thought since you are a model you could help me with this, I am looking for clear back bra, I do not want to wear the one you put on the breasts, I want to add padding that is why I need to wear a full bra and then insert the silicon , my dress is backless Thank you for your...

View more questions Search