Example #1
0
 int pageCurrIndex = 1;//当前页码
 public ucRealHistory()
 {
     InitializeComponent();
     gcVehicleInfo.DataSource = BAL.SelectAllVehicle();
     lblTotal.Text            = BAL.GetTotal().ToString();
     lblResultTotal.Text      = PageTotal(5, 5).ToString();
     lblIndex.Text            = "1";
 }