protected void editDefectUpdateButton_Click(object sender, EventArgs e)
    {
        DefectsDataAccess defectsDataAccess = new DefectsDataAccess();

        string testerId    = this.testerIdLabel.Text;
        string defectTitle = this.defectTitleLabel.Text;

        string defectDescription = this.defectDescriptionTextBox.Text;
        string notes             = this.defectNotesTextBox.Text;

        bool isFixed     = this.fixedCheckBox.Checked;
        bool isPostponed = this.postponedCheckBox.Checked;

        DateTime dateCreated = System.Convert.ToDateTime(this.dateCreatedLabel.Text);
        DateTime dateFixed   = System.Convert.ToDateTime(this.dateFixedLabel.Text);

        int origDefectId = (int)Session["DefectId"];

        defectsDataAccess.UpdateDefect(testerId, defectTitle, defectDescription, notes, isFixed, isPostponed, dateCreated, dateFixed, origDefectId);

        Session.Remove("DefectId");
        Response.Redirect("~/Admin/Defects.aspx");
    }