private void listQuestionStatus(int opt)
        {
            ListQuestionBSO listQuestionBSO = new ListQuestionBSO();
            DataTable dt = new DataTable();
            dt = listQuestionBSO.GetListQuestionStausID(int.Parse(strParam));

            DataView view1 = new DataView(dt);

            string strCate = GetCateParentIDArrayByID();
            if (!string.IsNullOrEmpty(strCate))
            {
                string restr = strCate.Remove(strCate.LastIndexOf(",")).Replace(",", "','");

                view1.RowFilter = "CateNewsID in('" + restr + "')";

                grvListQuestion.DataSource = view1;
                grvListQuestion.DataBind();
            }
        }
        private void listQuestionStatus(int opt, string RolesName_)
        {
            ListQuestionBSO listQuestionBSO = new ListQuestionBSO();
            DataTable dt = new DataTable();
            dt = listQuestionBSO.GetListQuestionStausID(int.Parse(strParam));

            DataView view1 = new DataView(dt);
            string strCate = GetCateParentIDArrayByID();

            AdminBSO adminBSO = new AdminBSO();
            ETO.Admin admin = new ETO.Admin();

            if (RolesName_ == "Guest")
            {
                view1.RowFilter = "CreateUserName ='******'";
                grvListQuestion.Columns[6].Visible = false;
                iconForUser();
            }
            else
                if (!string.IsNullOrEmpty(strCate))
                {
                    string restr = strCate.Remove(strCate.LastIndexOf(",")).Replace(",", "','");

                    if (RolesName_ != "Guest") //
                    {
                        //view1.RowFilter = "CateNewsID in('" + restr + "')";
                        view1.RowFilter = "CateNewsID in('" + restr + "') or CreateUserName ='******'";
                        //grvListQuestion.Columns[6].Visible = false;
                        //iconForUser();
                    }

                }
            //else
            //{
            //    if (RolesName_ == "Guest")
            //    {
            //        view1.RowFilter = "CreateUserName ='******'";
            //        grvListQuestion.Columns[6].Visible = false;
            //        iconForUser();
            //    }
            //}
            grvListQuestion.DataSource = view1;
            grvListQuestion.DataBind();
        }