Example #1
0
    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;
    }
Example #2
0
 protected void Repeater1_ItemCommand(object source, RepeaterCommandEventArgs e)
 {
     if (e.CommandName == "delete")
     {
         zs.BLL.Tbl_Video bll = new zs.BLL.Tbl_Video();
         bll.Delete(int.Parse(e.CommandArgument.ToString()));
         BindData();
     }
 }
Example #3
0
    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();
    }
Example #4
0
 public string GetVideo()
 {
     zs.BLL.Tbl_Video bll = new zs.BLL.Tbl_Video();
     return(bll.GetList(1, "", "newid()").Tables[0].Rows[0]["videourl"].ToString());
 }
Example #5
0
 private void BindData()
 {
     zs.BLL.Tbl_Video bll = new zs.BLL.Tbl_Video();
     UsersBind(bll.GetModelList(""), 15);
 }