Y
Young
I have a table with about 30 fields in it and approx. 110 records.
I created a datatable to read all the records and defined a correspoding
structure (array) so I can store the data in the structure. Eg.
Structure MyStruct
F1
F2
....
F30
End Structure
Dim MyArrayStruct(x) as MyStruct
I then created the datatable then loop thru all the records and assign F1 to
F1 on the struct. I do this for each row and assign it to the array "index".
This is extremely slow.
I am converting this from a VB6 app. The VB6 app is VERYquick.
Can someone please help?
TIA
Young
I created a datatable to read all the records and defined a correspoding
structure (array) so I can store the data in the structure. Eg.
Structure MyStruct
F1
F2
....
F30
End Structure
Dim MyArrayStruct(x) as MyStruct
I then created the datatable then loop thru all the records and assign F1 to
F1 on the struct. I do this for each row and assign it to the array "index".
This is extremely slow.
I am converting this from a VB6 app. The VB6 app is VERYquick.
Can someone please help?
TIA
Young