Ejemplo n.º 1
0
    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 + " - 浙江树人大学招生网";
    }
Ejemplo n.º 2
0
 private void BindData()
 {
     zs.BLL.Tbl_Page bll = new zs.BLL.Tbl_Page();
     this.Repeater1.DataSource = bll.GetAllList();
     this.Repeater1.DataBind();
 }