Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Submitting to a Database

Status
Not open for further replies.

wwechopper1

Programmer
Feb 19, 2007
5
US
I a trying to submit data from a windows form to a .mdb database. What code is required to do this?
 
JurkMonkey,

Do you have any other solution because that did not solve my problem
 
The basic idea is:

1. Connect to the DB using a connection string (
2. Create command builders for the insert statement

3. Create a dataset and add some rows

4. Submit your dataset to the DB


If you use MySQL there is a .Net connector that is much easier to use but runs on similar steps.


If you have to use Access - just google C# Access DB Tutorial and you will find lots.
 
WWEChopper -

Welcome to tek-tips. I think you would do well to read this FAQ on effective forum participation. faq222-2244

If you get an answer that does not work, you can post back to the same thread. There is no need to start a new one. Good luck with your database issue!

Alex

Ignorance of certain subjects is a great part of wisdom
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top