Cuando se leen muchos datos en la base de datos.
Conéctelo a una cadena, el formato es el siguiente: str = 1 ### 0 ### 1 *** 2 ## 1 ### 1_1 *** 3 ## 1 ### 1_2 *** 4 ## 2 ### 1_1_1 *** 5 ## 2 ### 1_1_2 *** 6 ## 4 ### 1_1_1_1 *** 7 ## 6 ## 1_1_1_1_1_1_1_1_1_1_1_1_1_1_1
Luego use Arresult = Split (Str, "***") para dividir STR en la matriz, y luego use Arrtmp = Split (ArRresult (i), "###") para dividirlo en la matriz para cada pieza de datos en la matriz ARRRESULT.
El código es el siguiente:
Dimmyarry ()
arrresult = split (str, "***")
fori = 0toUbound (arrresult)
ARRTMP = Split (ArRResult (i), "###")
forj = 0toUbound (ARRTMP)
Redimmyarry (Ubound (ArRResult), Ubound (ARRTMP))
myarry (i, j) = arrtmp (j)
Response.Writemyarry (i, j) y "<br>"
próximo
próximo
Cuando voy a ir
tenedor = 0toubund (Myarry, 1)
Response.Writemyarry (k, 1) y "<br>"
próximo
Cuando lo pienso, ¿por qué se han ido los datos en la matriz?