.
.
.
Dim data As OleDbConnection
data = New OleDbConnection( "DSN=database" )
data.Open()
.
.
.
Why i get an error message when i'm trying to connect a database with DSN name??
The error message says that i don't specify provider (sqlolebd)...
to get what you need to connect. And store your connection strings in your web.config files so you get the portability that a DSN also provides for you.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.