Hi, I'd like to confirm this is the correct way to connect to a SQL 2005 database through VB.Net. This client is using the default instance of local for their SQL Server 2005 instance on a machine named abc-sql.
Thanks,
JMO9966
Imports System.Data.OleDb
Private strConnectSQL As String = "Provider=SQLNCLI;Data Source=abc-sql;Initial Catalog=Sales;Integrated Security=SSPI;"
Private dcSQL As New OleDb.OleDbConnection(strC
onnectSQL)
Start Free Trial