protected void ChartListDD_SelectedIndexChanged(object sender, EventArgs e) { incomeChart.Series["Series1"].ChartType = (SeriesChartType)Enum.Parse(typeof(SeriesChartType), ChartListDD.SelectedValue); income icn = new income(); getChartData(icn.getIncome(int.Parse(yearDD.Text), Counties.Text)); }
protected void incomeSearch_Click(object sender, EventArgs e) { income icn = new income(); getChartData(icn.getIncome(int.Parse(yearDD.Text), Counties.Text)); incomeLS.DataSource = icn.getIncome(int.Parse(yearDD.Text), Counties.Text); incomeLS.DataBind(); getChartType(); }