public DetailPage() { this._constantCollection = new ConstantCollection(); this._customClientRT = new CustomClientRT(); this._pictureRT = new PictureRT(); this._visitorIPMACAddress = new VisitorIPMACAddress(); }
public Default() { this._customClientRT = new CustomClientRT(); this._categoryRT = new CategoryRT(); this._constantCollection = new ConstantCollection(); this._visitorIPMACAddress = new VisitorIPMACAddress(); }
private void LoadLatestAdsForSale() { try { var objLatestAds = new CustomClientRT().GetAllLatestRandomAdsForSale().ToList(); if (objLatestAds.Count > 0) { rpLatestForSale.DataSource = objLatestAds; rpLatestForSale.DataBind(); } } catch (Exception ex) { LogFileWritten(ex.Message, ex.StackTrace); } }