I am calling a webservice which returns me a collection which contains a string like below:
Model1|mdesc|Table1|tdesc|Col1|cdesc
Model1|mdesc|Table2|tdesc|Col1|cdesc
Model1|mdesc|Table1|tdesc|Col2|cdesc
Model1|mdesc|Table2|tdesc|Col2|cdesc
.
.
.
I have to create a list showing how many table's the model has and its columns.
What is the best collection to use here? I might later have to iterate this collection and create a html page so it should be easier to access.
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32599
4
posted
0
Not sure from your brief description. Have you gone through the different types of collection, which you can find about here?
You might want a List of Lists, but that is not at all certain from your post.
ronald dsouza
Greenhorn
Joined: Jun 16, 2011
Posts: 4
posted
0
Campbell Ritchie wrote:Not sure from your brief description. Have you gone through the different types of collection, which you can find about here?
You might want a List of Lists, but that is not at all certain from your post.