Accessing Access DB in web.config

Gabriella_Texas

New Member
I like to access a access db within my web.config file eg<BR><configuration><BR> <appSettings><BR> <add key="ConnectionString" value=http://aspmessageboard.com/archive/index.php/"WHAT'S HERE TO CONNECT TO ACCESS DB"/><BR> </appSettings><BR></configuration><BR><BR>I have seen many examples of connecting to SQL server but pls help me with Microsoft Access DB connections.<BR>Thanks :)<BR>PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA;SOURCE=c:dat abasesmydatabase.mdb;Hi John<BR><BR>Thanks for replying to me. I have tried that but receive an error message:<BR><BR>"Unknown connection option in connection string: provider"<BR><BR>Please help again. My exact codes inside web.config is:<BR><BR><appSettings><BR><add key="ConnectionString" value="Provider=Microsoft.Jet.OLEDB.4.0; <BR>Data Source=C:InetpubwwwrootEmployLeaveCalendar.mdb"/><BR><BR></appSettings><BR><BR>thanks for all helps!
 
Back
Top