protected void btnAnswer_Click(object sender, EventArgs e)
        {
            AnswerQuestion aQuestion = new AnswerQuestion();

            if (Session["doctorEmail"] != null) //&& Session["id"] != null)
            {
                //aQuestion.QuestionId = Session["id"].ToString();
                aQuestion.QuestionId  = Convert.ToInt32(txtQuestionId.Text);
                aQuestion.DoctorEmail = Session["doctorEmail"].ToString();

                var basePath = Server.MapPath("~/Images");
                var rowFile  = _qManager.CountAnsImageRow();
                var fileName = string.Format("{0:00000000}_{1}", rowFile, AnsphotoUpload.FileName);
                var filePath = System.IO.Path.Combine(basePath, fileName);
                aQuestion.AnsPhoto = Path.Combine("/Images", fileName);
                var selectedPhoto = AnsphotoUpload;
                selectedPhoto.SaveAs(filePath);
                aQuestion.AnswerDetails = txtAnswer.Value;

                int rowcount = _qManager.SaveAnswer(aQuestion);
                if (rowcount > 0)
                {
                    lblmsg.Text = "Answered.";

                    return;
                }
            }
        }