protected void storeSPDayReport_Refresh(object sender, StoreRefreshDataEventArgs e) { List <SPDayReportWrapper> spDayReports = SPDayReportWrapper.CaculateReport(System.DateTime.Now.Date, this.Client); storeSPDayReport.DataSource = spDayReports; storeSPDayReport.DataBind(); this.lblTotalDownTotalCount.Text = spDayReports.Sum(p => p.DownTotalCount).ToString(); this.lblTotalDownSycnSuccess.Text = spDayReports.Sum(p => p.DownSycnSuccess).ToString(); this.lblTotalDownSycnFailed.Text = spDayReports.Sum(p => p.DownSycnFailed).ToString(); }