using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using CY.BLL.Promotion; using CY.Infrastructure.Query; namespace CY.WebForm.Pages.front { public partial class InfoCashScore : System.Web.UI.Page { Promotion_IncomeRuleBLL _Promotion_IncomeRuleBLL = new Promotion_IncomeRuleBLL(); protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { BindList(); } } /// /// 加载全部数据 /// private void BindList() { Pagination pa = new Pagination(); pa.PageSize = 500; pa.PageIndex =1; this.RepRuleConfigList.DataSource = _Promotion_IncomeRuleBLL.GetModelList(pa); this.RepRuleConfigList.DataBind(); } } }