Advertisement

05.02.2007 at 09:17AM PDT, ID: 22548025
[x]
Attachment Details

SQL Server 2005 connection method using VB.Net ?

Asked by JMO9966 in SQL Server 2005, Microsoft Visual Basic.Net

Tags: sql, 2005, connection, server

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(strConnectSQL)
Start Free Trial
[+][-]05.02.2007 at 09:21AM PDT, ID: 19017184

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.02.2007 at 11:18AM PDT, ID: 19018039

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.02.2007 at 11:22AM PDT, ID: 19018072

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.02.2007 at 11:23AM PDT, ID: 19018076

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.02.2007 at 11:25AM PDT, ID: 19018097

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.02.2007 at 11:28AM PDT, ID: 19018114

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.02.2007 at 11:30AM PDT, ID: 19018129

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.02.2007 at 12:39PM PDT, ID: 19018665

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.02.2007 at 12:41PM PDT, ID: 19018684

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: SQL Server 2005, Microsoft Visual Basic.Net
Tags: sql, 2005, connection, server
Sign Up Now!
Solution Provided By: Chaosian
Participating Experts: 1
Solution Grade: A
 
 
[+][-]05.02.2007 at 01:03PM PDT, ID: 19018889

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.02.2007 at 01:09PM PDT, ID: 19018931

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32