Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB.Net Connecting to a SQL Server Database

Status
Not open for further replies.

ftpdoo

Programmer
Aug 9, 2001
202
GB
Hi..

I've just installed VB.Net and SQL Server.. I've got the microsoft sample database Northwind and have added it to SQL Server.

To connect to this database do I still need to setup an ODBC connection? Or can I go direct?

I keep getting the error "test connection failed because of an error in initialzing provider"

Any ideas what I'm doing wrong?

Sorry if this is really basic.. Just struggling to get this up and going.

Thanks,
Jonny
 
Take a look here:

It show the best connection string to use. You should go direct. ODBC is just another (unnecessary) layer between vb and the database.

-George

Strong and bitter words indicate a weak cause. - Fortune cookie wisdom
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top