Beispiel #1
0
        public void PieChartDetails3Months()
        {
            DataSet Ds = new DataSet();

            Ds       = Dm.Barchart_get_details();
            newSug   = int.Parse(Ds.Tables[0].Rows[0].ItemArray[0].ToString());
            reject   = int.Parse(Ds.Tables[0].Rows[0].ItemArray[1].ToString());
            approved = int.Parse(Ds.Tables[0].Rows[0].ItemArray[2].ToString());

            string script = "PieChart('" + newSug + "','" + reject + "','" + approved + "'); ";

            ClientScript.RegisterStartupScript(this.GetType(), "function", script, true);
        }