Inserting information to Database please help

T

Teo

Hey guys!!
I created a database using the built in SQL Express that comes with Visual
Basic Express.
I created the tables and relationships for now and I want to start testing
how the information would go into the database.
On my application I will be adding information as well as retrieving
information from the DB for analysis in my company.
What would be the best way to add information that I insert on a windows
form into a specific table on my database? I already created the textboxes
with the appropiate labels and the command button. Now, I am blocked at what
should I add inside the command button to open the connection to the DB and
add the information to the table.
Please any help would be appreciated.
Also I am not sure what type of connection VB created for me when I added
the tables and relationships to the SQL Express Database.

Thanks much in advance.
Teo
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top