在解决方案资源管理器中,右击引用,添加引用 System.Web.Dll
System.Web.HttpContext.Current.Server.MapPath("DB/db1.mdb")