all groups > dotnet academic > february 2004 >
You're in the

dotnet academic

group:

Connecting to an SQL server



Connecting to an SQL server Sharon and James
2/21/2004 6:54:00 PM
dotnet academic: Hi,

Can I connect to an Access DB using the Data Adapter Configuration Wizard?
How would I fill in the provider information for this?

Thank you.


--


Re: Connecting to an SQL server Peter van der Goes
2/22/2004 7:43:50 AM

[quoted text, click to view]
First, click New Connection, then click the Provider tab. From the provider
list, select Microsoft Jet 4.0 OLE DB Provider. Now. when you return to the
Connection tab, it will simply ask you to fill in the path to the Access DB
you want to use.
Hope this helps.

--
Peter [MVP Academic]

Re: Connecting to an SQL server William Burrows [MVP]
2/22/2004 7:55:21 AM
Hi Sharon and James,

Use the OleDBDataAdapter for an Access database. As Peter pointed out, the
provider includes "Microsoft Jet 4.0 OLE DB Provider". The "OLE DB" in the
provider name is the key term here.

HTH ... bill

PS Peter, sorry to jump into your thread but I am having a hard time beating
you to the punch lately :)

[quoted text, click to view]

Re: Connecting to an SQL server Sharon and James
2/22/2004 9:42:48 AM
Peter,

Thank you. If I enter the absolute path to the DB and include the ext
(.mdb), I can test the connection successfully. However, when I continue I
get an error that the connection created does not work with the current data
adapter. How can I determine the type of data adabter that is compatible
with my connection?

Thanks.

--

[quoted text, click to view]

Re: Connecting to an SQL server Peter van der Goes
2/22/2004 10:28:41 AM
[quoted text, click to view]

If this is a speed contest, I'm sure to lose most of the time ;-)
Anyway, Bill, you and anyone else who has better, correcting, clarifying,
etc. information should *always* feel free to jump in. The goal is to help.
If it takes two, three or more "helpers, so be it.
Thanks for making it more clear!

--
Peter [MVP Academic]

Re: Connecting to an SQL server Alex Yu [MVP]
2/22/2004 12:50:21 PM
[quoted text, click to view]

Here comes me...

--
Alex Yu
Microsoft MVP - Windows Server Systems

This posting is provided "AS IS" with no warranties, and confers no
rights. Please do not send e-mail directly to this alias. This alias is
Re: Connecting to an SQL server DotNetJunkies User
11/14/2004 3:08:44 PM
i'm having major problems with this part... when i click on new connection nothing happens, and i alrady have a connectionstring set up but it doesn't see it.... does it matter if i installed sql b4 or after i did VB.net?

---
Posted using Wimdows.net NntpNews Component -

Re: Connecting to an SQL server Peter van der Goes
11/14/2004 8:15:15 PM

[quoted text, click to view]
nothing happens, and i alrady have a connectionstring set up but it doesn't
see it.... does it matter if i installed sql b4 or after i did VB.net?
[quoted text, click to view]
engine supports Post Alerts, Ratings, and Searching.

No, there are no mapping issues as with IIS.
Can you see your SQL Server instance in Server Explorer (to be honest, I
don't know if you have server explorer in VB.NET Std Ed, assuming that's
what you have)?

--
Peter [MVP Visual Developer]
Jack of all trades, master of none.

AddThis Social Bookmark Button