Queried Data to be Updated

Here is my situation:

A value is entered into a textbox.  This value is then used against a query that fills several other textboxes.  The values that are entered into all the textboxes need to then be inserted, updated or deleted against the database.

I've tried binding the textboxes to a dataset and using a data adapter to update it, but I can't figure out how to get it to query the record and update the database.

Should I use a series of sqlcommands instead?  Is the data adapter a better route?  How can I make this work?  Please include sample code.
LVL 1
Andrew StillwellAsked:
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.

kamichieCommented:
Please explain which kind of Database you are using and what programming language you are talking about. Thanks
0
Andrew StillwellAuthor Commented:
I apologize.  I meant to post this in VB.NET.

I'm using ADO.NET in VB.NET 2003.  I'm accessing a MS SQL Server database.
0
kamichieCommented:
I'm still a little confused. You want the user to input information into the textbox, then preform a query. This queries information should then be displayed in another series of boxes, which if changed should be updated?
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
Andrew StillwellAuthor Commented:
Yes, that would work.  Would it be possible to have them enter the queried value in a textbox that would be connected to the dataset?  If not, the way you described it should be fine.
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
Programming

From novice to tech pro — start learning today.