private void RefreshAndBindInfo() { // aplicamos el filtro al DataSource y hacemos un DataBind del ListView if (!User.Identity.IsAuthenticated) { FormsAuthentication.SignOut(); return; } if (Session["FiltroForma"] == null) { ErrMessage_Span.InnerHtml = "Aparentemente, Ud. no ha indicado un filtro aún.<br />Por favor indique y aplique un filtro antes de intentar mostrar el resultado de la consulta."; ErrMessage_Span.Style["display"] = "block"; return; } MontosRestringidos_Lista_SqlDataSource.SelectCommand = MontosRestringidos_Lista_SqlDataSource.SelectCommand + " Where " + Session["FiltroForma"].ToString(); MontosRestringidos_Lista_ListView.DataBind(); }
protected void MontosRestringidos_FormView_ItemUpdated(object sender, FormViewUpdatedEventArgs e) { MontosRestringidos_Lista_ListView.DataBind(); }