Exemple #1
0
        private void btnFront_Click(object sender, EventArgs e)
        {
            if (this.currentPage > 0)
            {
                this.lbPages.Text = string.Format("{0}/{1}页", --this.currentPage + 1, this.totalPages);

                DataTable dt = archive_baseinfo.GetHyperData(reqBaseCol + reqVisitCol + reqBaseTipCol + reqVisitTipCol,
                                                             this.GetWhere() + reqWhere, "", this.currentPage * this.pageCount, this.pageCount);

                this.TransDs(dt);
                this.bds.DataSource     = dt;
                this.dgvData.DataSource = this.bds;
            }
        }