Beispiel #1
0
        private StudentInfoCard GetStudentInfo()
        {
            StudentInfoCard_Service service = WebServices.StudentInfoService();
            StudentInfoCard         student = new StudentInfoCard();

            return(service.Read(StudentNo()));
        }
Beispiel #2
0
        public static StudentInfoCard_Service StudentInfoService()
        {
            StudentInfoCard_Service service = new StudentInfoCard_Service();

            service.Url = Url("/Page/StudentInfoCard");
            service.UseDefaultCredentials = false;
            service.Credentials           = new NetworkCredential(GeneralSetup.SoapUsername, GeneralSetup.SoapPassword);
            return(service);
        }