Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Best approach to display an Array of Arrays

Status
Not open for further replies.

KevoMee

Technical User
Apr 30, 2002
72
IE
Hi All,

Just a little UI issue I'm having... it isn't my forte :)

Basically I want to display an array of arrays using a whatever .NET controls would be most convenient.

Each array (inside the array) contains a header at index 0. The rest of the items in that array are considered fields of that header.

Rather than dynamically building a table for each array (which would be a nightmare I reckon), what controls can I use to bind to this array that will give me this desired effect (notes included in brackets):

---------
HEADER1 (array[0][0])
---------
FIELD1-FIELD2-FIELD3
FIELD4-FIELD5-FIELD6
---------
HEADER2 (array[1][0])
---------
FIELD1-FIELD2-FIELD3
FIELD4-FIELD5-FIELD6

Any suggestions would be appreciated, even if you propose I change the data structure.

Regards.
 
How about a Repeater of Repeaters? :-D

[blue]_______________________________________[/blue]
Business Logic:"AND when tweetle beetles battle with paddles in a puddle, they call it a tweetle beetle puddle paddle battle AND..." - Dr. Suess
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top