//首页杂志浏览,下载Url private void MagazineHomeAd() { DBEntity.Tab_magazineHomeAd ent = new DBEntity.Tab_magazineHomeAd(); ent = ent.Get("1"); this.MagazineAd_BrowserUrl.HRef = ent.BrowserUrl; this.MagazineAd_DownlowdRarPath.HRef = ent.DownlowdRarPath; }
protected void Page_Load(object sender, EventArgs e) { if (!this.IsPostBack) { DBEntity.Tab_magazineHomeAd ent = new DBEntity.Tab_magazineHomeAd(); ent = ent.Get("1"); this.BrowserUrl.Text = ent.BrowserUrl; this.DownlowdRarPath.Text = ent.DownlowdRarPath; } }