Feb 27, 2013, 2:31 PM
[CLOSED] Databind nested lists to gridpanel
I am having some trouble binding some data to a dynamic gridpanel. The problem is that I have a list of records that contains another list. I want the outside list to be the rows of my table, while the values from the inside list are the columns. Do you have any suggestions on how to do this?
For example:
I have a list of trailers, and each has a list of stops.
I want the trailers to be the rows, and the names of each stop to be the columns, for instance:
Any ideas you have would be appreciated. Thank you.
For example:
I have a list of trailers, and each has a list of stops.
I want the trailers to be the rows, and the names of each stop to be the columns, for instance:
TrailerName | Stop1 | Stop2 | Stop3 |
---|---|---|---|
Trailer1 | T1S1 | T1S2 | T1S3 |
Trailer2 | T2S1 | T2S2 | T2S3 |
Trailer3 | T3S1 | T3S2 | T3S3 |
Any ideas you have would be appreciated. Thank you.
Last edited by Daniil; Mar 04, 2013 at 12:46 PM.
Reason: [CLOSED]