Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Duplicating repeater layout with new data

Posted on 2011-03-01
3
225 Views
Last Modified: 2012-05-11
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:

Title A
Data for rows - type B & C, 1 row per table cell

Title B
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?
0
Comment
Question by:JDEE8297
  • 2
3 Comments
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 35021099
Is the type U data child of Type A/B?
0
 

Accepted Solution

by:
JDEE8297 earned 0 total points
ID: 35057735
I've found my own solution. Not sure it's the most efficient, but it works.
Using 2 repeaters with 1 dataset that retrieves all 3 types. Then creating 2 views filtering by type.
0
 

Author Closing Comment

by:JDEE8297
ID: 35115181
Didnt get much response to my question.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question