Sign In | Register Now About Bytes | Help | Site Map
Connecting Tech Pros Worldwide

SQL Queries and Output from Databases

Question posted by: brebar07 (Newbie) on July 4th, 2008 05:15 AM
Hello,

Its been about 4-5 years since ive touched VB and I have never worked with VB and databases. I have connected the database to my program and can view data in DataGrids. Basically I want to be able to either have a button pressed which brings up a input message box which takes a 4-digit number which is used in a sql query. Then the output of about 8 fields from the query i want to go into text boxes.

Some sample code and/or advice would be greatly appreciated

Thanks in advance
debasisdas's Avatar
debasisdas
Moderator
6,554 Posts
July 4th, 2008
10:44 AM
#2

Re: SQL Queries and Output from Databases
you need to work with recordset object for all that.

Reply
Reply
Not the answer you were looking for? Post your question . . .
189,283 Experts ready to help you find a solution.
Sign up for a free account, or Login (if you're already a member).

Latest Articles: Read & Comment
Top Visual Basic Forum Contributors