示例#1
0
 /// <summary>
 /// 开始统计
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void caculate_Click(object sender, EventArgs e)
 {
     this.dataGridView.DataSource = VehicleDao.CaculateCompanyReport(this.startDate.Value.Date.AddMilliseconds(-1), this.endDate.Value.Date.AddDays(1).AddMilliseconds(-1), this.company.SelectedValue.ToString()).Tables[0];
 }