VideoHomeControl/GridView.cs
(开头部分) 37KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections;
using System.Data;
using System.Text;
using System.Text.RegularExpressions;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.ComponentModel;
using myfilm.Common;
using myfilm.Data;
namespace myfilm.Control
{
/// <summary>
/// GridView 列表控件
/// </summary>
[DefaultProperty("Text"), ToolboxData("<{0}:GridView runat=server></{0}:GridView>")]
public class GridView : System.Web.UI.WebControls.GridView, INamingContainer
{
/// <summary>
/// 跳转按钮
/// </summary>
//public myfilm.Control.Button GoToPagerButton = new myfilm.Control.Button();
public System.Web.UI.WebControls.Button GoToPagerButton = new System.Web.UI.WebControls.Button();
/// <summary>
/// 跳转文本框
/// </summary>
public System.Web.UI.HtmlControls.HtmlInputText GoToPagerInputText = new HtmlInputText();
/// <summary>
/// 绑定到列表中的记录总数
/// </summary>
public int RecordCount = 0;
public event CustomPageChangingHandler CustomPageChanging;
public delegate void CustomPageChangingHandler(object sender, EventArgs e);
/// <summary>
/// 构造函数
/// </summary>
public GridView()
: base()
{
//this.GridLines=GridLines.Horizontal;
//this.BorderWidth=0;
//this.CellPadding=3;
this.CssClass = "gridview";
//this.ShowFooter=true;
this.ShowHeader = true;
this.AutoGenerateColumns = false;
//this.PagerStyle.CssClass="GridViewPager";
//this.FooterStyle.CssClass="GridViewFooter";
this.SelectedRowStyle.CssClass = "gridviewSelectedRow";
this.RowStyle.CssClass = "";// "GridViewRow";
this.HeaderStyle.CssClass = "category";
this.PageSize = 25;
后面还有 1011 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
