Esempio n. 1
0
    private void BindBannerGrid()
    {
        try
        {
            BannerSqlProvider bannerHandler = new BannerSqlProvider();
            gdvManageBanner.DataSource = bannerHandler.GetAllCorporateBanners(Int32.Parse(SageUserModuleID), GetPortalID, true); ;
            gdvManageBanner.DataBind();
        }
        catch (Exception ex)
        {
            ProcessException(ex);
        }

    }
Esempio n. 2
0
 public List<BannerInfo> GetBannersInfo(Int32 userModuleID, Int32 portalID, bool showInActive)
 {
     try
     {
     List<BannerInfo> bannersInfo = new List<BannerInfo>();
     BannerSqlProvider objSql = new BannerSqlProvider();
     bannersInfo = objSql.GetAllCorporateBanners(userModuleID, portalID, showInActive);
     return bannersInfo;
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }