Solved

Duplicating repeater layout with new data

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

Monthly Recap

May was a big month for new releases from Linux Academy! Take a look at what our team built recently in our blog. You can access the newest releases from our blog.

Question has a verified solution.

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

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

729 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