1.
System.IO.Path
string fullPath = Path.GetFullPath("db1.mdb");
2.
HttpContext.Current.Server.MapPath
3.
Environment.CurrentDirectory
1.
System.IO.Path
string fullPath = Path.GetFullPath("db1.mdb");
2.
HttpContext.Current.Server.MapPath
3.
Environment.CurrentDirectory
转载于:https://www.cnblogs.com/freeliver54/archive/2008/04/06/1139007.html