private void Consultar() { var service = new MantenimientoServices.MantenimientosServicesClient(); var data = service.GetArtitsByname(txtFiltroByName.Text); grdListado.DataSource = data; grdListado.DataBind(); }
private void Consultar() { dynamic data = null; if (Session["artists"] == null) { var service = new MantenimientoServices.MantenimientosServicesClient(); data = service.GetArtitsByname(txtFiltroByName.Text); Session["artists"] = data; } else { data = Session["artists"] as Artist[]; } grdListado.DataSource = data; grdListado.DataBind(); }
protected void btnWcf_Click(object sender, EventArgs e) { var service = new MantenimientoServices.MantenimientosServicesClient(); var artists = service.GetArtistByName("a"); }
protected void Button1_Click(object sender, EventArgs e) { var service = new MantenimientoServices.MantenimientosServicesClient(); var artists = service.GetArtitsByname("a"); }