protected void Page_Load(object sender, EventArgs e)
    {
        GetCookie();

        if (Request.QueryString["Questionid"] != null)
        {
            Questionid = Convert.ToInt32(Request.QueryString["Questionid"]);

            QuestionBl  = new QuestionBL();
            Questiondto = new QuestionDTO();
            AnswerBl    = new AnswerBL();
            lstAnswer   = new List <AnswerDTO>();

            Questiondto = QuestionBl.GetQuestion(Questionid);

            LblQTitle.Text = Questiondto.QTitle.ToString();
            ltrldesc.Text  = Questiondto.QDesc.ToString();
            LblQRate.Text  = Questiondto.Rate.ToString();

            lstAnswer = AnswerBl.GetAnswer(Questionid);

            DatalistAnswer.DataSource = lstAnswer;
            DatalistAnswer.DataBind();
        }

        Questionid = Convert.ToInt32(Request.QueryString["Questionid"].ToString());
    }
    protected void Page_Load(object sender, EventArgs e)
    {
        GetCookie();

        if (Request.QueryString["Questionid"] != null)
        {
            QuestionBl  = new QuestionBL();
            Questiondto = new QuestionDTO();

            Questionid  = Convert.ToInt32(Request.QueryString["Questionid"]);
            Questiondto = QuestionBl.GetQuestion(Questionid);

            TxtTitle.Text     = Questiondto.QTitle.ToString();
            TxtDesc.InnerText = Questiondto.QDesc.ToString();
        }
    }