Ver Mensaje Individual
  #2 (permalink)  
Antiguo 01/07/2008, 13:24
Avatar de gustavoh10
gustavoh10
 
Fecha de Ingreso: diciembre-2005
Ubicación: ARGENTINA
Mensajes: 196
Antigüedad: 18 años, 4 meses
Puntos: 3
Respuesta: Error en Gridview

Es importante saber como llenas la grilla,

yo por ejemplo lleno la grilla con un arraylist y para habilitar la paginación hago en el evento

Código PHP:
protected void grilla_PageIndexChanging(object senderGridViewPageEventArgs e)
{
        
ArrayList u RecuperarDatosDeAlgunLado();

        
gvUsuarios.DataSource u;
        
gvUsuarios.PageIndex e.NewPageIndex;
        
gvUsuarios.DataBind();


Si utilizas sqldatasource no necesitas hacer esto, solo habilitando allowsorting y allowpaging esta.