I am very new to VB.
I have a situation where I need something like a Hashtable.
Is there an equivalent to Hashtable in VB?
Loop through the resultset and load all the information in a data structure.
while not resultSet.EOF
account = rsExist("account")
pcfile = rsExist("pcfile")
dateValue = rsExist("date")
timeValue = rsExist("time")
'Store this information in a collection
filesInDB As New Collection
I thought I could create a new collection for each iteration and add it to the collection.
But, it doesnt let me create a new collection with-in an if or while block.
What is the solution?
Thanks in advance