Solved

Duplicating repeater layout with new data

Posted on 2011-03-01
3
223 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
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 …
This is a video that shows how the OnPage alerts system integrates into ConnectWise, how a trigger is set, how a page is sent via the trigger, and how the SENT, DELIVERED, READ & REPLIED receipts get entered into the internal tab of the ConnectWise …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

943 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now