Esempio n. 1
0
        protected void ProcessButton_Click(object sender, EventArgs e)
        {
            // build data
            IList <SalesByCountrySummary> reportData = ReportDataSource.GetSalesByCountry(StartDate.SelectedDate, EndDate.SelectedDate, 10, 0, "TotalSales DESC");

            Chart1.Visible = reportData.Count > 0;
            BuildCharts(reportData, StartDate.SelectedDate, EndDate.SelectedDate);
        }