VideoHome.Web/admin/Zhuanti/ZhuanTiList.aspx.cs

(开头部分) 2KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.IO;

using myfilm.Vod;
using myfilm.Entity;
using myfilm.Common;
namespace myfilm.Web.Admin
{
    public partial class ZhuanTiList : AdminPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                BindData();
            }
        }



        protected void drpFilmClass_SelectedIndexChanged(object sender, EventArgs e)
        {
            BindData();
        }

        protected void btnSearch_Click(object sender, EventArgs e)
        {
            BindData();
            JsExe(upList, "dd", "document.getElementById('" + btnSearch.MyClientID + "').disabled = false;");

        }

        protected void BindData()
        {
            #region 数据控件绑定
            DataTable dt = ZhuanTi.GetSearchData(txtSearchKeyword.Text);
            GridView1.RecordCount = dt.Rows.Count;
            GridView1.DataSource = dt.DefaultView;
            GridView1.DataBind();
            upList.Update();
            #endregion
        }
        protected void GridView1_PageIndexChanging(object sender, GridViewPageEventArgs e)
        {
            GridView1.PageIndex = e.NewPageIndex;
            BindData();
        }

        //自定义分页
        protected void GridView1_CustomPageChanging(object sender, EventArgs e)
        {
            BindData();
        }

        protected void btnExecute_Click(object sender, EventArgs e)
后面还有 36 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。