using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using CY.BLL; using CY.Model; using CY.Infrastructure.Query; using CY.Infrastructure.Common; using CY.BLL.OA; namespace CY.WebForm.Pages.business { //吴辉 //打印客户访问记录 public partial class PrintCorVisit : BasePage { OA_CustomerAccessRecordBLL bll_OA_CustomerAccessRecordBLL = null; //初始化 public PrintCorVisit() { bll_OA_CustomerAccessRecordBLL = new OA_CustomerAccessRecordBLL(); } //页面加载 protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { BindList(); } } //绑定数据 private void BindList() { Pagination pa = new Pagination(); pa.PageSize = int.MaxValue; pa.PageIndex = 1; this.RepFirmAccountIncomeListRecord.DataSource = bll_OA_CustomerAccessRecordBLL.SelectModelPage(pa,Request["Keyid"].ToString2().Trim(',')); this.RepFirmAccountIncomeListRecord.DataBind(); } //查询事件 protected void btn_Register_Click(object sender, EventArgs e) { BindList(); } } }