Ver Mensaje Individual
  #5 (permalink)  
Antiguo 24/09/2008, 08:04
Avatar de diegopedro
diegopedro
 
Fecha de Ingreso: agosto-2006
Ubicación: Santiago
Mensajes: 120
Antigüedad: 18 años, 7 meses
Puntos: 0
Respuesta: Indice de un array como string

Alli va

Public Class CLASS1
Public _COL1 As String
Public _COL2 As String
End Class


Dim nombre As New Collection
Dim i As Int32
For i = 1 To 15
Dim x As New CLASS1
x._COL1 = CStr(i)
x._COL2 = CStr(i + 1)
nombre.Add(x)
Next
For i = 1 To nombre.Count
Dim w As New CLASS1
w = nombre.Item(i)
Response.Write(w._COL1 & ", ")
Response.Write(w._COL2 & "<BR>")
Next
__________________
Es facil apretar tornillos, pero lo complejo es saber que tornillo apretar