|
-
Nov 27th, 2003, 08:32 PM
#1
Thread Starter
Hyperactive Member
connection string to access database failing (ado.net)
I am trying to connect to the MS access database...using the following connection string
connString = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=c:\Northwind.mdb"
and the error it displays is
Unknown connection option in connection string....
I think it should be simple and straight forward..Am I doing any mistake?
Pls suggest...
nath
-
Nov 27th, 2003, 09:00 PM
#2
Lively Member
-
Nov 27th, 2003, 09:38 PM
#3
Thread Starter
Hyperactive Member
thank you so much...but I still get the error 'unknown connection option in connecti
unknown connection option in connection string provider...
The connection string is ...
"Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=C:\Northwind.mdb;User ID=Admin;Password="
Private idbConn As SqlConnection = Nothing
idbConn = New SqlConnection(connString)
-
Nov 27th, 2003, 11:25 PM
#4
Lively Member
Can you show more code of the connection part.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|