示例#1
0
        private string GetKPITemplate(string Controller)
        {
            XmlOp xmlhelper = new XmlOp("../../App_Data/fastReport.config");
            var   result    = xmlhelper.GetXmlNodeValue("/Config/" + Controller + "/KPI");

            return(result);
        }
示例#2
0
        private string GetBranchProfitTemplate(string controller)
        {
            XmlOp xmlhelper = new XmlOp("../../App_Data/fastReport.config");
            var   result    = xmlhelper.GetXmlNodeValue("/Config/" + controller + "/BranchProfit");

            return(result);
        }
示例#3
0
        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);
        }
示例#4
0
        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);
        }