Web/UserControl/projectlist.ascx.cs

(开头部分) 2KB

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

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Bll;

namespace Web.UserControl
{
    public partial class projectlist : Web.UserControl.UserMaster
    {
        protected int pagesize = 24;
        protected int sid=0 ;
        protected int currentindex = 1;


        /// <summary>
        /// 页面大小
        /// </summary>
        public int PageSize
        {
            set
            {
                this.pagesize = value;
            }
            get
            {
                return this.pagesize;
            }
        }
        /// <summary>
        /// 设置当前页面
        /// </summary>
        public int CurrentIndex
        {
            set { this.currentindex = value; }
            get { return this.currentindex; }
        }
        /// <summary>
        /// 分类编号
        /// </summary>
        public int Sid
        {
            set
            {
                this.sid = value;
            }
            get
            {
                return this.sid;
            }
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!base.IsPostBack)
            {

                binddata();

后面还有 26 行代码,解锁后查看完整代码

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

AI 解读

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

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