コード例 #1
0
 protected void btnReturn_Click(object sender, ImageClickEventArgs e)
 {
     oJustification    = null;
     Session["Aoffer"] = null;
     Aoffer            = 0;
     Response.Redirect("../AcademicGroups/gAcademicOffer.aspx");
 }
コード例 #2
0
 protected void showOfferAcademic()
 {
     this.offerAcademic = Convert.ToBoolean(Session["OfferAcademic"].ToString());
     if (this.offerAcademic == false)
     {
         oJustification    = null;
         Session["Aoffer"] = null;
         Response.Redirect("../../index.aspx");
     }
 }
コード例 #3
0
 private void fillInfomration()
 {
     oJustification              = OpeningJustificationBLL.getInstance().getJustification(Aoffer);
     lblTeacherDescription.Text  = oJustification.oAcademic.oteacher.name + " " + oJustification.oAcademic.oteacher.lastName;
     lblCourseDescription.Text   = oJustification.oAcademic.oCourse.description;
     lblPositionDescription.Text = oJustification.oInternal.description;
     lblHoursDescription.Text    = oJustification.oAcademic.hours.ToString();
     oJustification.getSalary();
     lblSalaryDescription.Text = oJustification.Salary.ToString("0.00");
     oJustification.getCCSS();
     lblCCSSDescription.Text      = oJustification.CCSS.ToString("0.00");
     lblPublicityDescription.Text = oJustification.publicity.ToString("0.00");
     lblValueDescription.Text     = oJustification.oAcademic.price.ToString("0.00");
 }
コード例 #4
0
 private void Verify()
 {
     try
     {
         Aoffer = Convert.ToInt32(Session["Aoffer"].ToString());
         if (Aoffer == 0)
         {
             oJustification = null;
             Response.Redirect("../../index.aspx");
         }
     }
     catch
     {
         oJustification = null;
         Response.Redirect("../../index.aspx");
     }
 }