Exemplo n.º 1
0
        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));
        }
Exemplo n.º 2
0
        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();
        }