private string GetKPITemplate(string Controller) { XmlOp xmlhelper = new XmlOp("../../App_Data/fastReport.config"); var result = xmlhelper.GetXmlNodeValue("/Config/" + Controller + "/KPI"); return(result); }
private string GetBranchProfitTemplate(string controller) { XmlOp xmlhelper = new XmlOp("../../App_Data/fastReport.config"); var result = xmlhelper.GetXmlNodeValue("/Config/" + controller + "/BranchProfit"); return(result); }
private string GetReportManagement(string Controller, string ORGID) { XmlOp xmlhelper = new XmlOp("../../App_Data/fastReport.config"); string xpath = "/Config/" + Controller + "/Management/ORG[@ORGID='" + ORGID + "']"; var result = xmlhelper.GetXmlNodeValue(xpath); return(result); }
private string GetReportPath() { string report_path = Config.ApplicationFolder; XmlOp xmlhelper = new XmlOp("../../App_Data/fastReport.config"); report_path += xmlhelper.GetXmlNodeAttributeValue("/Config/Reports", "Path"); return(report_path); }