private void ViewCateAll()
    {
        CateNewsBSO catenewsBSO = new CateNewsBSO();
        DataTable   table       = catenewsBSO.GetCateNewsNamePermission(Language.language, Session["Admin_UserName"].ToString());

        RadGrid1.DataSource = table;
        RadGrid1.DataBind();
    }
예제 #2
0
    //CateNewsPermission

    #region ViewCateNewsAll
    private void ViewCateNewsAll()
    {
        CateNewsBSO catenewsBSO = new CateNewsBSO();
        DataTable   table       = catenewsBSO.GetCateNewsNamePermission(Language.language, Session["Admin_UserName"].ToString());

        //chkCateNews.DataSource = table;
        //chkCateNews.DataTextField = "CateNewsName";
        //chkCateNews.DataValueField = "CateNewsID";
        //chkCateNews.DataBind();
        //commonBSO commonBSO = new commonBSO();
        //commonBSO.FillToCheckBoxList(chkCateNews, table, "CateNewsName", "CateNewsID");
        RadGrid1.DataSource = table;
        RadGrid1.DataBind();
    }