c# - MS Access 2007 database in asp.net(Make it work on hosting) -


i have web application(c# asp.net) , uploaded hosting. works good, doesn't connect database(ms access 2007). i've put database in app_data folder , typed connectionstring

con.connectionstring = @"provider=microsoft.ace.oledb.12.0;data source="+server.mappath("app_data\\websitedatabase.accdb"); con.open(); 

what have done wrong ?


Comments

Popular posts from this blog

php - mySql Join with 4 tables -

css - Text drops down with smaller window -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -