Hi all,
Longtime listener, first time caller...anyways, I'm just starting out
(literally...I've done the obligatory "Hello, World" and messed around a
little more). What I want to do is create an app that will accept 2
character strings, and when 'OK' is clicked, have it dump one string into
one field in a SQL table (SQL server is the same machine as I'll be using
and writing the program with), and dump the other string into a different
field in the same table. The database has 3 tables in it, and all are empty
awaiting data. I'm fairly competent with SQL statements, but as I said, I'm
VERY new to Visual Basic, and especially the .NET framework. What I'm stuck
on is the code to make the text boxes dump the data into the database. I
don't even know how to tell it to establish a connection to the SQL Server.
(This program won't ever be run on another computer, it's just for my own
purposes, so I don't need to have a selection for servers or databases.) I'm
hoping someone would be so kind as to get me started here or point me to a
place on the web or book that deals with getting the data into the database.
Basically, what I'm doing is writing a data entry program. At this point, I
don't even need to manipulate the data with the program, just get it into
the database. Any help is appreciated! Thank you!
KB