views:

27

answers:

1

Hello everyone!

I have to make a control in ASP.NET that allows me to create a matrix. I have a list of strings (obtained from a method) that will be the rows (each string is one row), and I have another list of strings (obtained from other method) that will be the columns (each string is one column). After that, depending on the row-cloumn cross I have to put an image in that position, something like this:

       x  |  y |  z
   a | OK | OK | BAD|
   ------------------
   b | OK |BAD | OK |
   ------------------
   c |BAD |BAD | BAD|

How can I achieve this? Thanks a lot in advance!

A: 

You can use nested Repeaters.

The outer repeater for rows, the inner one for columns/cells.

Oded