//修改 protected void btnConfirm_Click(object sender, EventArgs e) { try { DalOperationAboutEnglishExam dalOperationAboutEnglishExam = new DalOperationAboutEnglishExam(); EnglishExam model = new EnglishExam { studentNo = studentNo, englishExamId = englishExamId, englishExamNotifyId=englishExamNotifyId, examCertificateRemark=txtExamCertificateStateRemark.Text.Trim(), gradeCertificateRemark=txtGradeCertificateStateRemark.Text.Trim(), isPaidRemark=txtIsPaidRemark.Text.Trim(), grade=txtGrade.Text.Trim(), gradeCertificateState= ddlGradeCertificate.SelectedValue, examCertificateState=ddlExamCertificate.SelectedValue, isPaid = int.Parse(ddlIspaid.SelectedValue) }; dalOperationAboutEnglishExam.UpdateEnglishExamSignUpState(model); Javascript.RefreshParentWindow("修改报名相关状态信息成功!", "/Teacher/EnglishExamManage.aspx?fragment=1", Page); } catch (Exception ex) { MongoDBLog.LogRecord(ex); Javascript.GoHistory(-1, "修改报名相关状态信息失败,请检查格式是否有误!", Page); } }