c# 程序中取路径的方式

string rptPath= Request.PhysicalApplicationPath + "CrystalReport\\ScaProject\\ScalProjectSignature.rpt";

Request.PhysicalApplicationPath
Mappath("."),mappath("../")
ConfigurationSettings.AppSettings["IMSPP_ReportPath"].ToString()

你可能感兴趣的:(C#)