So when using Webconfig, you do not have to add any of the below information?
conn = new OleDbConnection "Provider=Microsoft.Jet.OLEDB.4.0; " + Data Source = " + Server.MapPath("DB/MyDB.mdb"));
This is where I am getting confused. I am not telling the webconfig file what type of connection...
Okay...I am starting my first C#/ASP.Net webpage and have it a stump off the bat. I want to store my connection string in the Webconfig file and then call it from code. I am connecting to an Access DB and using C#. The examples I have seen on configuring the Webconfig file does not address...
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.