Ejemplo n.º 1
0
        //protected void btnBack_Click(object sender, EventArgs e)
        //{
        //    //Session["ViewKOId"] = hdnKOID.Value;
        //   // Server.Transfer("QA_MYKO.aspx");

        //    Response.Redirect("~/UserMaint/LoggedInHome.aspx");
        
        //}


        //this func should be ShowKO ?CV
        public void ShowQuestion()
        {
            QuestAnsBAL QuestBAL = new QuestAnsBAL();
            DataTable dt = new DataTable();
            QuestAnsBE Quest = new QuestAnsBE();

            Quest.QuestId = Convert.ToInt32(hdnQuestId.Value);

            if (QuestBAL.GetQuestion(ref dt, Quest))
            {
                ViewState["QuestionTable"] = dt;
              lblQuest.Text = dt.Rows[0]["DetlQuestn"].ToString();
       //      lblShortdesc.Text = dt.Rows[0]["ShortDesc"].ToString();
               lblQuestpostedby.Text = dt.Rows[0]["LastModifiedBy"].ToString();
                lblPostedTime.Text = dt.Rows[0]["LastModifiedAt"].ToString();
            }
            else
            {

           }
       }