protected void searchButton_Click(object sender, ImageClickEventArgs e) { RouterService routerService = new RouterService(); List<RouterView> upnData = routerService.SearchData(searchText.Text); GridView3.DataSource = upnData; GridView3.DataBind(); }
/* Metodo que se utiliza cuando se presiona el boton de buscar */ protected void searchButton_Click(object sender, ImageClickEventArgs e) { RouterService routerService = new RouterService(); List<RouterView> upnData = routerService.SearchData(searchText.Text); //Llena la tabla de routers con la busqueda filtrada GridView3.DataSource = upnData; GridView3.DataBind(); }