Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi Guyz,

 

I need so help here..

I just need some idea here on formatting the table..Actually if you look at the image attached..i want to contruct that kind of table..I know its preety simple..just some html tables tags will give me that table...

 

But here is my problem..Actually i have an outer loop an inner loop..The outer loop gives me the data in 'Item Column' and each Item has its sub-item..Like that sub-item of Item (1) is

 

Info1 user1

Info2 user2

Info3 User3

 

And each of this subitem is the result of the inner loop (1 loop in the inner loop gives you 1 info and 1 user, then the next inner loop gives you next info and users) ...So each of the subitem is evaluated against certain rule to get its phase..Like Info1 (that is obtained in the inner loop ) belongs to Phase1 after some evaluation is done..

 

So my question is, how do i get the table formatted so i get the table displayed in the attachment? Because once all the subitems for a particular item is obtained, then only i can start constructing the table for item1..

 

So how do i construct this table actually? do i need to store the items in an array first then combine it with <td> and <tr> or any idea? i really dont know how to get started..ANY idea/reference/guide ...really appreciate if someone could guide me here...

 

Thank You,,

Posted

Well obviously your going to use a plain data repeater.

 

Your item td tag will have the row span eqaul to the number or records for that particular row.

 

It would be a bit challenging, but with your repeater looking at parent/child relationships you should be able to come up with something - it may not be elegant, but if it works so be it.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...