public void SaveUserInfoChange() { User user = userView.GetUser(); char gender = (user.Gender.Equals("男") ? '0' : '1'); string sqlSaveInfoChange = "update TD_Student set STU_NAME=N'" + user.Name + "',STU_GENDER='" + gender + "',STU_BIRTH='" + user.Birth + "',STU_NATIVE=N'" + user.Native + "' where STU_CODE='" + user.Code + "'"; CommonFunction.ExecuteSave(sqlSaveInfoChange); }