So I have an object that is part of a reply from a web request that has two properties on it. Both are string arrays. The first one is called COLUMNNAMES and the second is called VALUES. For instance COLUMNNAMES would have the following in it:
"ID", "NAME", "DATEADDED", "DATECHANGED"
and VALUES would have the following in it:
"1", "APPLES", "09/21/2013", "09/21/2013"
"2", "ORANGES", "09/21/2013", "09/21/2013"
"3", "STRAWBERRIES", "09/21/2013", "09/21/2013"
What I want to be able to do is somehow process these into a sort of data structure that I can call like so:
Dim rows = GetReply()
For Each r in rows
Dim value = r("ID") 'ID is a column name
Next
Is there a type that I can implement to create this or does this already exist? Thanks!