Flovit Posted May 12, 2004 Posted May 12, 2004 In my ConnectionString I used datasource field with Server.MapPath But in the Web.Config I want to use database field , how Can I set a databse name in it & how can I define it ? thanks Quote
Moderators Robby Posted May 12, 2004 Moderators Posted May 12, 2004 http://www.dotnetjohn.com/articles/articleid3.aspx Quote Visit...Bassic Software
Flovit Posted May 12, 2004 Author Posted May 12, 2004 Thank you , what about OLeDB for MS Access Quote
Moderators Robby Posted May 12, 2004 Moderators Posted May 12, 2004 You can use the same method if the file path is hard-coded, or leave the path out of the web.cofig file and do something like this... ConfigurationSettings.AppSettings("ConnectionString") & somePathToMDB Quote Visit...Bassic Software
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.