protected void showButton_Click(object sender, EventArgs e)
        {
            DiseaseReport aDiseaseReport = new DiseaseReport();


            aDiseaseReport.DiseaseId = Convert.ToInt32(diseaseDropDownList.SelectedValue);
            int centerId = Convert.ToInt16(Session["centerId"]);

            aDiseaseReport.DistrictId = aTreatmentManager.GetDistrictIdByCenterId(centerId);
            aDiseaseReport.FromTime   = fromCalendar.SelectedDate;
            aDiseaseReport.From       = aDiseaseReport.FromTime.ToString("yyyy-MM-dd");

            aDiseaseReport.ToTime = toCalendar.SelectedDate;
            aDiseaseReport.To     = aDiseaseReport.ToTime.ToString("yyyy-MM-dd");

            List <DiseaseReport> getDiseaseReports = aDiseaseManager.GetDiseaseReport(aDiseaseReport);

            reportGridView.DataSource = getDiseaseReports;
            reportGridView.DataBind();
        }
 protected void showButton_Click(object sender, EventArgs e)
 {
     showGridView.DataSource = aDiseaseManager.GetDiseaseReport(fromDateTextBox.Value, toDateTextBox.Value,
                                                                diseaseDropDownList.SelectedValue);
     showGridView.DataBind();
 }