|    
			
				10/11/2011, 15:08
			
			
			  | 
  |   |  |  |  Fecha de Ingreso: octubre-2011 
						Mensajes: 14
					 Antigüedad: 14 años Puntos: 1 |  | 
  |  Generar GridView por CodeBehind.  
  Hola a todos. 
 En la actualidad tengo un dilema. Necesito generar un GridView por CodeBehind pero la verdad no sé como hacerlo.
 En el momento tengo el siguiente código
 
 grvVerificaciones = new GridView();
 grvVerificaciones.ID = "grvVerificaciones";
 grvVerificaciones.AutoGenerateColumns = false;
 grvVerificaciones.AllowSorting = true;
 grvVerificaciones.ShowFooter = true;
 grvVerificaciones.AllowPaging = true;
 var dataKeyNames = new[] { "co_verficacion","co_doe"};
 grvVerificaciones.DataKeyNames = dataKeyNames;
 
 Pero para añadir las columnas de manera manual no sé cómo hacerlo. Si alguien sabe por favor muchas gracias.
     |