Ver Mensaje Individual
  #14 (permalink)  
Antiguo 11/01/2011, 12:55
Erick21
 
Fecha de Ingreso: abril-2010
Ubicación: Lima-Peru
Mensajes: 96
Antigüedad: 14 años
Puntos: 2
Respuesta: Pasar Fila de un Datagrid a Otro

hola gracias por la ayuda , me sale el siguiente error en esta parte.

Function Valores(ByVal fila As DataRow) As String()

Dim contenido(dtb.Columns.Count() - 1) As String
For x As Integer = 0 To contenido.Length() - 1
contenido(x) = fila.Item(x).ToString()
a.Add(x) >>>>>> "Referencia a objeto no establecida como instancia de un objeto"
Next
Return contenido
End Function

al declarar el arraylist no deberia ir dim a as new arraylist ?