private void BindGridViewListData() { // string Grade = hfSelectedTab.Value; GridView_SAP.DataSource = GetDataSource <StaffList>("SAP", ImgSAP); //GetDataSource_SAP(); GridView_SAP.DataBind(); GridView_SIS.DataSource = GetDataSource <ClassesList>("SIS", ImgSIS); // GetDataSource_SIS(); GridView_SIS.DataBind(); GridView_APP.DataSource = GetDataSource <GroupList>("APP", ImgAPP); // GetDataSource_APP(); GridView_APP.DataBind(); }
private void BindGridViewListData() { string Grade = hfSelectedTab.Value; try { GridView_SAP.DataSource = GetDataSource <AppRoleMatchList, AppRoleMatch>("GetList"); GridView_SAP.DataBind(); } catch (Exception ex) { throw ex; } try { GridView_Permission.DataSource = GetDataSource <AppRolePermissionList, AppRolePermission>("GetListbyRoleID"); GridView_Permission.DataBind(); } catch (Exception ex) { throw ex; } }