Beispiel #1
0
        public static string Getmyconnstring()
        {
            //1.先判断XML文件是否存在,如果不存在则创建一个
            NewXmlControl xmlfile = new NewXmlControl(Comm.StartupPath + "//config//config.xml", false, "PrintList");

            return(xmlfile.Readconnstring());
        }
Beispiel #2
0
        public static string GetPrintInfo()
        {
            //1.先判断XML文件是否存在,如果不存在则创建一个
            NewXmlControl xmlfile = new NewXmlControl(Comm.StartupPath + "//config//regedit.xml", false, "Passport");

            return(xmlfile.Readconnstring());
        }