posts - 28,  comments - 24,  trackbacks - 3
  2009年8月22日
web.config中添加 在OleDbHelper.cs中添加 Code public static readonly string DBName = ConfigurationManager.AppSettings.Get("DBName").ToString(); public static readonly string DBDriver = ConfigurationManager.AppSettings.Get("DBDriver").ToString(); public static string ConnString = DBDriver + HttpContext.Current.Server.MapPath(HttpContext.Current.Request.ApplicationPath + "/DataBase/") + DBName;
posted @ 2009-08-22 10:06 E商.NET 阅读(35) 评论(0) 编辑