private void BindData() { zs.BLL.Tbl_Video bll = new zs.BLL.Tbl_Video(); zs.BLL.Tbl_Guide bllg = new zs.BLL.Tbl_Guide(); id = ApplicationMethod.decript(Request.QueryString["id"]); UsersBind(bll.GetModelList("leiid=" + id), 12); string title = bllg.GetModelByCache(int.Parse(id)).name; }
private void InitData() { string xid = ApplicationMethod.decript(Request.QueryString["xid"]); this.Repeater1.DataSource = bll.GetModelList("xueyuanid=" + xid); this.Repeater1.DataBind(); zs.Model.Tbl_Xueyuan xueyuan = bllx.GetModelByCache(int.Parse(xid)); this.Page.Title = xueyuan.name + " - 专业介绍 - 浙江树人大学招生网"; name = xueyuan.name; }
private void GetContent() { zs.BLL.Tbl_News bll = new zs.BLL.Tbl_News(); string id = ApplicationMethod.decript(Request.QueryString["id"]); zs.Model.Tbl_News model = bll.GetModelByCache(int.Parse(id)); this.lb_title.Text = model.title; this.lb_Cont.Text = model.conts; tags = "浙江树人大学,招生网,树大招生," + model.title; desc = ApplicationMethod.NoHtmlCode(model.conts, 80); Page.Title = model.title + " - 浙江树人大学招生网"; }
private void GetContent() { zs.BLL.Tbl_Page bll = new zs.BLL.Tbl_Page(); string id = ApplicationMethod.decript(Request.QueryString["id"]); zs.Model.Tbl_Page model = bll.GetModelByCache(int.Parse(id)); this.lb_title.Text = model.name; this.lb_Cont.Text = model.conts; tags = model.metatags; desc = model.metadescription; Page.Title = model.name + " - 浙江树人大学招生网"; }
private void GetNewsList() { zs.BLL.Tbl_News bll = new zs.BLL.Tbl_News(); zs.BLL.Tbl_Guide bllg = new zs.BLL.Tbl_Guide(); id = ApplicationMethod.decript(Request.QueryString["id"]); UsersBind(bll.GetModelList("leiid=" + id + " order by id desc"), 15); string title = bllg.GetModelByCache(int.Parse(id)).name; this.lb_title.Text = title; tags = "浙江树人大学,招生网,树大招生," + title; desc = "由浙江省政协主办的浙江树人大学(学院)坐落于杭州市城区,是改革开放以来我国最早成立并经国家教育部首批批准承认学历的全日制民办本科高校之一。"; Page.Title = title + " - 浙江树人大学招生网"; }
private void GetContent() { zs.BLL.Tbl_Video bll = new zs.BLL.Tbl_Video(); string id = ApplicationMethod.decript(Request.QueryString["id"]); zs.Model.Tbl_Video model = bll.GetModelByCache(int.Parse(id)); this.lb_title.Text = model.title; conts = model.conts; videourl = model.videourl; this.Repeater1.DataSource = bll.GetList(5, "", "newid()"); this.Repeater1.DataBind(); }
private void InitData() { string id = ApplicationMethod.decript(Request.QueryString["id"].ToString()); zs.Model.Tbl_Xueyuan model = bll.GetModelByCache(int.Parse(id)); name = model.name; nameen = model.nameen; conts = model.conts; yuanzhang = model.yuanzhang; image1 = model.image1; image2 = model.image2; image3 = model.image3; tags = "浙江树人大学招生网," + model.name; desc = ApplicationMethod.NoHtmlCode(model.conts, 80); xid = ApplicationMethod.encript(model.id.ToString()); this.Page.Title = model.name + " - 浙江树人大学招生网"; this.Repeater1.DataSource = bll.GetList(2, "", "newid()"); this.Repeater1.DataBind(); }
protected void Button3_Click(object sender, EventArgs e) { this.TextBox1.Text = ApplicationMethod.decript(this.Label1.Text.Trim()); }