Hello All.
I have a VB application that I'm working on that reads in data from a serial port. Currently, the app is designed to take in the data, display in a text box, and also dump to a text file. I further incorporated routines to break the data up into seperate variables. All of this is working correctly.
What I would like to do is put the contents of the variables into a table on my MSSQL server (2k). I've been looking all over for simple instructions or how-to's of how to create the ADO connection (I've seen many programming examples, but haven't tried any as of yet), and to simply INSERT the variables into the table.
To make this easier, let's say I have 8 variables, var(1) through var(8).
My database table is already created (using SQL administrator), so I'm thinking the inserting should be relatively simple?
Any samples or referrences to the code I need (and maybe a bit of explanation) would be greatly appreciated.
Thanks very much in advance.
Bryan Fulkersin
I have a VB application that I'm working on that reads in data from a serial port. Currently, the app is designed to take in the data, display in a text box, and also dump to a text file. I further incorporated routines to break the data up into seperate variables. All of this is working correctly.
What I would like to do is put the contents of the variables into a table on my MSSQL server (2k). I've been looking all over for simple instructions or how-to's of how to create the ADO connection (I've seen many programming examples, but haven't tried any as of yet), and to simply INSERT the variables into the table.
To make this easier, let's say I have 8 variables, var(1) through var(8).
My database table is already created (using SQL administrator), so I'm thinking the inserting should be relatively simple?
Any samples or referrences to the code I need (and maybe a bit of explanation) would be greatly appreciated.
Thanks very much in advance.
Bryan Fulkersin