protected void LoadDatos() { ReportaloWS.ReportaloSoapClient c = new ReportaloWS.ReportaloSoapClient(); DataSet ds = c.SearchIssueByDateCategory(Convert.ToInt32(Session["category_id"]), Convert.ToDateTime(Session["date_from"]), Convert.ToDateTime(Session["date_to"]), Convert.ToInt32(Session["sub_category_id"])); GridView1.DataSource = ds; GridView1.DataBind(); LoadTheMap(ds); }
protected void LoadSubCategorias() { ReportaloWS.ReportaloSoapClient ws = new ReportaloWS.ReportaloSoapClient(); DataSet Ds = ws.LoadSubCategories(Convert.ToInt32(this.ddlCategoria.SelectedValue)); this.ddlSubCategoria.DataSource = Ds.Tables[0]; this.ddlSubCategoria.DataValueField = "sub_category_id"; this.ddlSubCategoria.DataTextField = "sub_category_ud"; this.ddlSubCategoria.DataBind(); ListItem Li = new ListItem("--Seleccione una--", "0"); this.ddlSubCategoria.Items.Insert(0, Li); }