Ejemplo n.º 1
0
    private void GetAllNews()
    {
        zs.BLL.Tbl_News  bll  = new zs.BLL.Tbl_News();
        zs.BLL.Tbl_Guide bllg = new zs.BLL.Tbl_Guide();
        UsersBind1(bll.GetModelList("1=1 order by id desc"), 15);
        string title = "招考快讯";

        this.lb_title.Text = title;
        tags       = "浙江树人大学,招生网,树大招生," + title;
        desc       = "由浙江省政协主办的浙江树人大学(学院)坐落于杭州市城区,是改革开放以来我国最早成立并经国家教育部首批批准承认学历的全日制民办本科高校之一。";
        Page.Title = title + " - 浙江树人大学招生网";
    }
Ejemplo n.º 2
0
    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 + " - 浙江树人大学招生网";
    }
Ejemplo n.º 3
0
 private void BindData()
 {
     zs.BLL.Tbl_News bll = new zs.BLL.Tbl_News();
     UsersBind(bll.GetModelList("1=1 order by addtime desc"), 15);
 }
Ejemplo n.º 4
0
 private void InitData()
 {
     zs.BLL.Tbl_News bll = new zs.BLL.Tbl_News();
     this.Repeater1.DataSource = bll.GetModelList("1=1", 5, "id desc");
     this.Repeater1.DataBind();
 }