Example #1
0
        static void RemoteData()
        {
            OrclHandler orcl = new OrclHandler();
            DataSet     d    = orcl.TestRemote();

            //  orcl.Query();
            RemoteWcf.RemoteDataServiceClient wcf = new RemoteWcf.RemoteDataServiceClient();
            DataSet ds = wcf.GetAllAirAccount();
        }
Example #2
0
        static void XmlTest()
        {
            AssemblyExt         ass     = new AssemblyExt();
            string              xmlPath = ass.GetAssemblyPath() + @"\Content\StudentOutSendRegister.xml";
            AbroadStudentManage abroad  = new AbroadStudentManage();
            string              xml     = abroad.FillDataToXml(xmlPath);

            RemoteWcf.RemoteDataServiceClient rds = new RemoteWcf.RemoteDataServiceClient();
            rds.UploadAbroadStudent(xml);
        }