string path=Server.MapPath("../Report/rpt/ReportSchema.xsd");错误在C#类中Server.MapPath
string path=Server.MapPath("../Report/rpt/ReportSchema.xsd");
// This will locate the Example.txt file in the root directory. // ... This can be used in a file in any directory in the application. HttpContext.Current.Request.MapPath(" /Example.txt");