?
Solved

Duplicating repeater layout with new data

Posted on 2011-03-01
3
Medium Priority
?
228 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
[X]
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
  • 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

Understanding Linux Permissions

Linux for beginners: How to view the permissions associated with files and directories and also how you can change them.

Question has a verified solution.

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

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Suggested Courses

771 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