コード例 #1
0
ファイル: home.aspx.cs プロジェクト: prasannadharm/Catalogue
        public static BannerImageEntity[] GetBannerData() //Show the details of the data after insert in HTML Table
        {
            var details = new List <BannerImageEntity>();

            try
            {
                details = new BannerMasterDAO().GetBannerList();
            }
            catch (Exception ex)
            {
                // details.Add(new DbStatusEntity(ex.Message));
            }
            return(details.ToArray());
        }
コード例 #2
0
        public static BannerImageEntity[] EditData(int id)
        {
            var details = new List <BannerImageEntity>();

            try
            {
                details = new BannerMasterDAO().EditBanner(id);
            }
            catch (Exception ex)
            {
                //details.Add(new DbStatusEntity(ex.Message));
            }
            return(details.ToArray());
        }