Refresh list box in VB2008

I'm developing an application in VB2008.  I have a list box that displays info from a database table.  The info is bound to the listbox via a table adapter.  The user has the ability to add rows to the database via another form.  I haven't been able to figure out how to get the new data displayed in the list box on the original form after the user submits it...how do I refresh the list box on the form to show the data the user just added?  I've tried 'form1.refresh' with no luck, and 'form1.close' ends the application...
cmerlo1Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

vs1784Commented:
Refill the data adapter with new data, it should work i think.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
cmerlo1Author Commented:
What is the code for doing that?
0
vs1784Commented:
what code you are using to bind the list box with data?
0
cmerlo1Author Commented:
Just figured it out...re-used the code I was using on page load...d'oh!
0
vs1784Commented:
Ok, thats what i meant.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Development

From novice to tech pro — start learning today.