When a lot of data is read in the database.
Connect it into a string, the format is as follows: 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
Then use arrResult=split(str,"***") to divide str into the array, and then use arrTmp=split(arrResult(i),"###") to divide it into the array for each piece of data in the arrResult array.
The code is as follows:
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)&"<br>"
next
next
When I'm going to go
fork=0toubund(myarry,1)
response.Writemyarry(k,1)&"<br>"
next
When I think about it, why is the data in the array gone?