protected void btnToggle_Click(object sender, EventArgs e)
 {
     TopicBll abll = new TopicBll();
     int topicId = Convert.ToInt32(this.lblTopicId.Text);
     abll.ToggleStatus(topicId);
     Response.Redirect("TopicList.aspx");
 }
 protected void gvList_RowCommand(object sender, GridViewCommandEventArgs e)
 {
     int topicId = Convert.ToInt32(e.CommandArgument);
     TopicBll tbll = new TopicBll();
     if (e.CommandName == "del")
     {
         tbll.Delete(topicId);
         this.BindList();
     }
     else if (e.CommandName == "toggle")
     {
         tbll.ToggleStatus(topicId);
         this.BindList();
     }
 }