protected void ShowBarChartButton_Click(object sender, EventArgs e) { string districtName = districtDropDownList.SelectedItem.Text; string fromDate = fromDateTextBox.Text; string todate = toDateTextBox.Text; DataTable dt = manager.GetData(districtName, fromDate, todate); LoadChartData(dt); }