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

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

            return(xmlfile.Readconnstring());
        }