コード例 #1
0
 private void FillGridFromSession()
 {
     if (Session["ServerAccessGrid"] != null & Session["ServerAccessGrid"] != "")
     {
         ServerAccessGridView.DataSource = (DataTable)Session["ServerAccessGrid"];
         ServerAccessGridView.DataBind();
     }
 }
コード例 #2
0
        //9/22/2015 NS added for VSPLUS-2170
        private void FillGrid()
        {
            DataTable UsersDataTable = VSWebBL.SecurityBL.UsersBL.Ins.GetUserAccessData();

            ServerAccessGridView.DataSource = UsersDataTable;
            ServerAccessGridView.DataBind();
            Session["ServerAccessGrid"] = UsersDataTable;
        }