Hi, I am Visual Basic beginner needing help desperately.
I am using Microsoft Visual Studio.Net 2003. I have a basic Form with 3 Labels and 1 Button.
I also have a Database with 3 Fields.
I want the Text from Label1, Label2 and Label 3 to be stored in the database when Button 1 is clicked.
Please can someone help me to do this, with sample code, including the database connection.
Thanks
ensuvari
PLEASE HELP!!! VB Database Connection
4 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Dumisani July4 pointsPosted Mar 1, 2006, 11:51 PM EST
Erhan Suvari11 pointsPosted Mar 2, 2006, 4:54 AM EST
Thanks a lot
I'm using MS Access 2000 should that make a difference?
Also, I forgot to mention that as well as the 3 fields, I also have an AutoNumber Primary Key Field. Should this populate automatically, or will I need to include coding for it?
Uday Parekh6 pointsPosted Mar 17, 2006, 6:05 PM EST
are you using sql server? Or oracle ?
Plz specify.
Thanks
Erhan Suvari11 pointsPosted Mar 19, 2006, 8:07 AM EST
I have solved this problem.