Duplicating repeater layout with new data
Posted on 2011-03-01
I have a user control with a very basic table structure. The data is split by three types...B,U,C. The output I'm looking for is:
Data for rows - type B & C, 1 row per table cell
Data for rows - type U, 1 row per table cell
There will not always be both C & U data, so if both arent there, it should only show the first or last half of the above. I was wondering if there would be a way to only use one repeater and one dataset to get the above results, instead of having two repeaters and 2 sql calls. Can filters be used in some way? Or something else?