示例#1
0
 public void creatUser()
 {
     newUser.setCity(cityBox.Text);
     newUser.setClass(classBox.Text);
     newUser.setemail(emailBox.Text);
     //newUser.setEmail();
     newUser.setFirstName(firstNameBox.Text);
     newUser.setGrade(gradeSelectionBox.SelectedText);
     newUser.sethomeTelephone(homeTelephoneBox.Text);
     //newUser.setindexNo();
     newUser.setLastName(lastNameBox.Text);
     newUser.setMiddleName(middleNameBox.Text);
     newUser.setmobile(mobileBox.Text);
     newUser.setpassword(defaultPasswrd);
     //newUser.setPassword();
     newUser.setPostalCode(postalCodeBox.Text);
     newUser.setPostalNo(postalNoBox.Text);
     newUser.setregisteredDate(Now.Date);
     //newUser.setregistrationNumber();              //**//
     newUser.setRoot(rootBox.Text);
     //newUser.setuserState();
     //newUser.setUserState();
     newUser.setuserType(userTypeCombo.SelectedText);
 }