Example #1
0
        public void PieChartDetails1Year()
        {
            DataSet Ds = new DataSet();

            Ds           = Dm.Barchart_get_details_1Year();
            newSugyear   = int.Parse(Ds.Tables[0].Rows[0].ItemArray[0].ToString());
            rejectyear   = int.Parse(Ds.Tables[0].Rows[0].ItemArray[1].ToString());
            approvedyear = int.Parse(Ds.Tables[0].Rows[0].ItemArray[2].ToString());

            string scriptyear = "PieChartYear('" + newSugyear + "','" + rejectyear + "','" + approvedyear + "'); ";

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