protected void LvMyAns_ItemEditing(object sender, ListViewEditEventArgs e)
        {
            QuestAnsBAL AnsBAL         = new QuestAnsBAL();
            int         QId            = Convert.ToInt32(LvMyAns.DataKeys[e.NewEditIndex].Value);
            int         LastModifiedBy = ((UserBE)(Session["LoggedInUser"])).UserId;

            if (AnsBAL.AddView(LastModifiedBy, QId))
            {
                Session["QuestId"] = LvMyAns.DataKeys[e.NewEditIndex].Value.ToString();
                Response.Redirect("~/QuestAns/QA_QuestWithAns.aspx");
            }
        }
        protected void lvQuestList_ItemEditing(object sender, ListViewEditEventArgs e)
        {
            QuestAnsBAL AnsBAL         = new QuestAnsBAL();
            int         QId            = Convert.ToInt32(lvQuestList.DataKeys[e.NewEditIndex].Value);
            int         LastModifiedBy = 1;

            if (Session["LoggedInUser"] == null)
            {
                LastModifiedBy = 3;
            }
            else
            {
                LastModifiedBy = ((UserBE)(Session["LoggedInUser"])).UserId;
            }
            if (AnsBAL.AddView(LastModifiedBy, QId))
            {
                Session["QuestionId"] = lvQuestList.DataKeys[e.NewEditIndex].Value.ToString();
                Response.Redirect("~/QuestAns/QA_QuestWithAnsWOLogin.aspx");
            }
        }