private void fillAnswer9()
        {
            q9Conainer.Visible = true;

            QuestionToAnswer thisQuestion = new QuestionToAnswer();

            thisQuestion = thisQuestion.readQuestionsInOrder(hwID, "9");

            q9Text.InnerText     = thisQuestion.QuestionText;
            QMaxMarks9.InnerText = "Question 9 maximum marks: " + thisQuestion.MarksForQuestion;

            txtQ9StudentAnswer.Text = thisQuestion.getAnswer(thisQuestion.QuestionToAnswerID);
        }
        private void fillAnswer10()
        {
            q10Conainer.Visible = true;

            QuestionToAnswer thisQuestion = new QuestionToAnswer();

            thisQuestion = thisQuestion.readQuestionsInOrder(hwID, "10");

            q10Text.InnerText     = thisQuestion.QuestionText;
            QMaxMarks10.InnerText = "Question 10 maximum marks: " + thisQuestion.MarksForQuestion;

            txtQ10StudentAnswer.Text = thisQuestion.getAnswer(thisQuestion.QuestionToAnswerID);
        }
        private void fillAnswer7()
        {
            q7Conainer.Visible = true;

            QuestionToAnswer thisQuestion = new QuestionToAnswer();

            thisQuestion = thisQuestion.readQuestionsInOrder(hwID, "7");

            q7Text.InnerText     = thisQuestion.QuestionText;
            QMaxMarks7.InnerText = "Question 7 maximum marks: " + thisQuestion.MarksForQuestion;

            txtQ7StudentAnswer.Text = thisQuestion.getAnswer(thisQuestion.QuestionToAnswerID);
        }
        private void fillAnswer8()
        {
            q8Conainer.Visible = true;

            QuestionToAnswer thisQuestion = new QuestionToAnswer();

            thisQuestion = thisQuestion.readQuestionsInOrder(hwID, "8");

            q8Text.InnerText     = thisQuestion.QuestionText;
            QMaxMarks8.InnerText = "Question 8 maximum marks: " + thisQuestion.MarksForQuestion;

            txtQ8StudentAnswer.Text = thisQuestion.getAnswer(thisQuestion.QuestionToAnswerID);
        }
        private void fillAnswer6()
        {
            q6Conainer.Visible = true;

            QuestionToAnswer thisQuestion = new QuestionToAnswer();

            thisQuestion = thisQuestion.readQuestionsInOrder(hwID, "6");

            q6Text.InnerText     = thisQuestion.QuestionText;
            QMaxMarks6.InnerText = "Question 6 maximum marks: " + thisQuestion.MarksForQuestion;

            txtQ6StudentAnswer.Text = thisQuestion.getAnswer(thisQuestion.QuestionToAnswerID);
        }
        private void fillAnswer5()
        {
            q5Conainer.Visible = true;

            QuestionToAnswer thisQuestion = new QuestionToAnswer();

            thisQuestion = thisQuestion.readQuestionsInOrder(hwID, "5");

            q5Text.InnerText     = thisQuestion.QuestionText;
            QMaxMarks5.InnerText = "Question 5 maximum marks: " + thisQuestion.MarksForQuestion;

            txtQ5StudentAnswer.Text = thisQuestion.getAnswer(thisQuestion.QuestionToAnswerID);
        }
        private void fillAnswer4()
        {
            q4Conainer.Visible = true;

            QuestionToAnswer thisQuestion = new QuestionToAnswer();

            thisQuestion = thisQuestion.readQuestionsInOrder(hwID, "4");

            q4Text.InnerText     = thisQuestion.QuestionText;
            QMaxMarks4.InnerText = "Question 4 maximum marks: " + thisQuestion.MarksForQuestion;

            txtQ4StudentAnswer.Text = thisQuestion.getAnswer(thisQuestion.QuestionToAnswerID);
        }
        private void fillAnswer3()
        {
            q3Conainer.Visible = true;

            QuestionToAnswer thisQuestion = new QuestionToAnswer();

            thisQuestion = thisQuestion.readQuestionsInOrder(hwID, "3");

            q3Text.InnerText     = thisQuestion.QuestionText;
            QMaxMarks3.InnerText = "Question 3 maximum marks: " + thisQuestion.MarksForQuestion;

            txtQ3StudentAnswer.Text = thisQuestion.getAnswer(thisQuestion.QuestionToAnswerID);
        }
        private void fillAnswer2()
        {
            q2Conainer.Visible = true;

            QuestionToAnswer thisQuestion = new QuestionToAnswer();

            thisQuestion = thisQuestion.readQuestionsInOrder(hwID, "2");

            q2Text.InnerText     = thisQuestion.QuestionText;
            QMaxMarks2.InnerText = "Question 2 maximum marks: " + thisQuestion.MarksForQuestion;

            txtQ2StudentAnswer.Text = thisQuestion.getAnswer(thisQuestion.QuestionToAnswerID);
        }
        public void fillQuestion10()
        {
            q10Conainer.Visible     = true;
            currentIssuedHomeworkID = Session["SelectedHomework"].ToString();
            QuestionToAnswer thisQuestion = new QuestionToAnswer();

            thisQuestion = thisQuestion.readQuestionsInOrder(currentIssuedHomeworkID, "10");

            q10Text.InnerText     = thisQuestion.QuestionText;
            QMaxMarks10.InnerText = "Question 10 Marks: " + thisQuestion.MarksForQuestion;

            try
            {
                txtQ10Answer.Text = thisQuestion.getAnswer(thisQuestion.QuestionToAnswerID);
            }
            catch { }
        }