Example #1
0
        public StudentAllInfo GetStudentAllInfo()
        {
            StudentAllInfo info = new StudentAllInfo();

            info.BelongAreaCode   = this.GetCode(this.cbBelongArea);
            info.BelongAreaString = this.GetText(this.cbBelongArea);
            info.Birthday         = this.GetDate(this.dateBirthday);
            info.CarTypeCode      = this.GetCode(this.cbNewCarType);
            info.CarTypeString    = this.GetText(this.cbNewCarType);
            info.CheckDate        = this.GetDate(this.dateCheckDate);
            info.ConnAddress      = this.GetText(this.txtConnAddress);
            info.Cun               = this.GetText(this.cbBelongCun);
            info.Description       = this.GetText(this.txtDescription);
            info.Height            = this.GetText(this.txtHeight);
            info.HospitalCode      = GetCode(this.cbHospital);
            info.HospitalString    = GetText(this.cbHospital);
            info.IdCard            = this.GetText(this.txtIdCard);
            info.IdCardTypeCode    = this.GetCode(this.cbIdCardType);
            info.IdCardTypeString  = this.GetText(this.cbIdCardType);
            info.LearnType         = this.GetText(this.cbLearnType);
            info.LeftDownBody      = this.GetText(this.cbLeftDownBody);
            info.LeftEye           = this.GetText(this.txtLeftEye);
            info.Light             = this.GetText(this.cbColor);
            info.Listening         = this.GetText(this.cbListen);
            info.MainBody          = this.GetText(this.cbMainBody);
            info.Name              = this.GetText(this.txtName);
            info.NationCode        = this.GetCode(this.cbNation);
            info.NationString      = this.GetText(this.cbNation);
            info.OldCarType        = this.GetText(this.txtOldCarType);
            info.Phone1            = this.GetText(this.txtPhone);
            info.Phone2            = this.GetText(this.txtMobile);
            info.PostCode          = this.GetText(this.txtPostCode);
            info.ProfileId         = this.GetText(this.txtProfile);
            info.Recommender       = this.GetText(this.cbRecommend);
            info.RegAddress        = this.GetText(this.txtRegAddress);
            info.RegAreaCode       = this.GetCode(this.cbRegArea);
            info.RegAreaString     = this.GetText(this.cbRegArea);
            info.RegCityCode       = this.GetCode(this.cbRegCity);
            info.RegCityString     = this.GetText(this.cbRegCity);
            info.RegDate           = this.lbBaoMingDate.Text.Length > 0?Convert.ToDateTime(this.lbBaoMingDate.Text).ToString("yyyy-MM-dd"):"";
            info.RegProvinceCode   = this.GetCode(this.cbRegProvince);
            info.RegProvinceString = this.GetText(this.cbRegProvince);
            info.RightDownBody     = this.GetText(this.cbRightDownBody);
            info.RightEye          = this.GetText(this.txtRightEye);
            info.Sex               = this.GetText(this.cbSex);
            info.TempId            = this.GetText(this.txtTempId);
            info.TopBody           = this.GetText(this.cbTopBody);
            info.Xiang             = this.GetText(this.cbBelongXiang);

            //info.Fee = this.GetText(this.txt);

            info.CarType = this.GetText(this.cbNewCarStyle);

            return(info);
        }
Example #2
0
        public StudentAllInfo GetStudentAllInfo()
        {
            StudentAllInfo info = new StudentAllInfo();
            info.BelongAreaCode = this.GetCode(this.cbBelongArea);
            info.BelongAreaString = this.GetText(this.cbBelongArea);
            info.Birthday = this.GetDate(this.dateBirthday);
            info.CarTypeCode = this.GetCode(this.cbNewCarType);
            info.CarTypeString = this.GetText(this.cbNewCarType);
            info.CheckDate = this.GetDate(this.dateCheckDate);
            info.ConnAddress = this.GetText(this.txtConnAddress);
            info.Cun = this.GetText(this.cbBelongCun);
            info.Description = this.GetText(this.txtDescription);
            info.Height = this.GetText(this.txtHeight);
            info.HospitalCode = GetCode(this.cbHospital);
            info.HospitalString = GetText(this.cbHospital);
            info.IdCard = this.GetText(this.txtIdCard);
            info.IdCardTypeCode = this.GetCode(this.cbIdCardType);
            info.IdCardTypeString = this.GetText(this.cbIdCardType);
            info.LearnType = this.GetText(this.cbLearnType);
            info.LeftDownBody = this.GetText(this.cbLeftDownBody);
            info.LeftEye = this.GetText(this.txtLeftEye);
            info.Light = this.GetText(this.cbColor);
            info.Listening = this.GetText(this.cbListen);
            info.MainBody = this.GetText(this.cbMainBody);
            info.Name = this.GetText(this.txtName);
            info.NationCode = this.GetCode(this.cbNation);
            info.NationString = this.GetText(this.cbNation);
            info.OldCarType = this.GetText(this.txtOldCarType);
            info.Phone1 = this.GetText(this.txtPhone);
            info.Phone2 = this.GetText(this.txtMobile);
            info.PostCode = this.GetText(this.txtPostCode);
            info.ProfileId = this.GetText(this.txtProfile);
            info.Recommender = this.GetText(this.cbRecommend);
            info.RegAddress = this.GetText(this.txtRegAddress);
            info.RegAreaCode = this.GetCode(this.cbRegArea);
            info.RegAreaString = this.GetText(this.cbRegArea);
            info.RegCityCode = this.GetCode(this.cbRegCity);
            info.RegCityString = this.GetText(this.cbRegCity);
            info.RegDate = this.lbBaoMingDate.Text.Length>0?Convert.ToDateTime(this.lbBaoMingDate.Text).ToString("yyyy-MM-dd"):"";
            info.RegProvinceCode = this.GetCode(this.cbRegProvince);
            info.RegProvinceString = this.GetText(this.cbRegProvince);
            info.RightDownBody = this.GetText(this.cbRightDownBody);
            info.RightEye = this.GetText(this.txtRightEye);
            info.Sex = this.GetText(this.cbSex);
            info.TempId = this.GetText(this.txtTempId);
            info.TopBody = this.GetText(this.cbTopBody);
            info.Xiang = this.GetText(this.cbBelongXiang);

            //info.Fee = this.GetText(this.txt);

            info.CarType = this.GetText(this.cbNewCarStyle);

            return info;
        }
Example #3
0
 public abstract bool UpdateStudent(StudentAllInfo info);
Example #4
0
 public abstract bool DeleteStudent(StudentAllInfo info);
Example #5
0
 public abstract bool AddStudent(StudentAllInfo info);
 public abstract bool UpdateStudent(StudentAllInfo info);
 public abstract bool DeleteStudent(StudentAllInfo info);
 public abstract bool AddStudent(StudentAllInfo info);