protected void Page_Load(object sender, EventArgs e) { QueryParameter = Request.QueryString["invoker"]; CustomProfile profile = CustomProfile.GetProfile(); sqlConn = "Data Source=" + profile.DBConnection._constr[0] + ";Initial Catalog=" + profile.DBConnection._constr[1] + "; User ID=" + profile.DBConnection._constr[3] + "; Password="******";"; if (QueryParameter.ToLower() == "purchaseorder") { ChartBind(52); } else if (QueryParameter.ToLower() == "sostatus") { ChartBind(50); } else if (QueryParameter.ToLower() == "postatus") { ChartBind(49); } else if (QueryParameter.ToLower() == "salesorder") { ChartBind(53); } else if (QueryParameter.ToLower() == "utilization") { ChartBind(57); } else if (QueryParameter.ToLower() == "all") { ChartBind(); } }