I have a newbie question, that I have been trying to find, but cannot find anything. Not sure if it too simple to find, but here it is...
I have a vb 2005 app, and a database with 1 table in MS SQL 2008. All I want to do is a simple SELECT query on the 1 table.
Can someone give me a quick example on how to connect to the MSSQL db, and do a simple select query? (connection string and any references i need to enable would be helpful)
Also, is there more than one way to connect? If so, which one is faster? (ADO connection?)
Thanks!
I have a vb 2005 app, and a database with 1 table in MS SQL 2008. All I want to do is a simple SELECT query on the 1 table.
Can someone give me a quick example on how to connect to the MSSQL db, and do a simple select query? (connection string and any references i need to enable would be helpful)
Also, is there more than one way to connect? If so, which one is faster? (ADO connection?)
Thanks!