static void RemoteData() { OrclHandler orcl = new OrclHandler(); DataSet d = orcl.TestRemote(); // orcl.Query(); RemoteWcf.RemoteDataServiceClient wcf = new RemoteWcf.RemoteDataServiceClient(); DataSet ds = wcf.GetAllAirAccount(); }
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); }