protected void btnSubmitReflection_Click(Object sender, EventArgs e)
        {
            OpportunityStudentReflection opportunityStudentReflection = new OpportunityStudentReflection();

            opportunityStudentReflection.StudentID         = Convert.ToInt32(Session["Student_StudentID"]);
            opportunityStudentReflection.OpportunityID     = Convert.ToInt32(Session["Student_SelectedOpportunityID"]);
            opportunityStudentReflection.StudentReflection = tboxStudentReflection.Text;

            opportunityStudentReflection.SubmitOpportunitySelfReflection(opportunityStudentReflection);

            this.ClientScript.RegisterClientScriptBlock(this.GetType(), "Close", "window.close()", true);
            Response.Write("<script>window.open('RegisteredDetail.aspx','_blank');</script>");
        }
예제 #2
0
 public void SubmitOpportunitySelfReflection(OpportunityStudentReflection studentRelfection)
 {
     dbHelper.AddOpportunityStudentReflection(Constant.SP_AddOpportunityStudentReflection, studentRelfection.StudentID,
                                              studentRelfection.OpportunityID, studentRelfection.StudentReflection);
 }