Example #1
0
        /// <summary>
        /// 分页绑定
        /// </summary>

        private void ByPageBind()
        {
            Pager1.RecordCount = ts_custfile.GetRecordCount(txtCustCode.Value, txtCustName.Value);
            if (Pager1.RecordCount > 0)
            {
                GetListBind();
            }
            else
            {
                rptCust.DataSource = null;
                rptCust.DataBind();
            }
        }