473,386 Members | 1,775 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

complicated scenario -- possible easy solution?!

So here's what I got:

Datagrid with multiple controls but the ones in question are 3 labels.
Basically the three labels should be showing data pulled from a
database. To complicate things, the datasource on the datagrid is a
different dataset that I need to use for the labels; and to complicate
the situation even further, 1 of the labels will have "growing"
data....
Situation:
(labels should look like this)
<label1>Cx, </label1><label2>Dx,x1</label2><label3>static
text</label3>

Cleaned up: Cx, Dx, x1 Text
the x's are integers; however the D may have more than 1 integer.

The data is basically a Cycle, Day, Info scenario. You can have
multiple cycles (C) with multiple days (D) for each cycle and the last
label is just a text dedicated to each cycle.

Possibilities include:
C1, D1, 3 Text
C3, D5, 10 Text2
C6, D3, 13, 18 Text 3
C1, D15 Text4
and so on.

I'm really racking my brain trying to come up with exactly how this
can be done... thanks to whatever help anyone can offer....
Jul 14 '06 #1
2 1074
Zamael <no**********@orignalitysux.comwrote in
news:fe********************************@4ax.com:
So here's what I got:

Datagrid with multiple controls but the ones in question are 3 labels.
Basically the three labels should be showing data pulled from a
database. To complicate things, the datasource on the datagrid is a
different dataset that I need to use for the labels; and to complicate
the situation even further, 1 of the labels will have "growing"
data....
Situation:
(labels should look like this)
<label1>Cx, </label1><label2>Dx,x1</label2><label3>static
text</label3>

Cleaned up: Cx, Dx, x1 Text
the x's are integers; however the D may have more than 1 integer.

The data is basically a Cycle, Day, Info scenario. You can have
multiple cycles (C) with multiple days (D) for each cycle and the last
label is just a text dedicated to each cycle.

Possibilities include:
C1, D1, 3 Text
C3, D5, 10 Text2
C6, D3, 13, 18 Text 3
C1, D15 Text4
and so on.

I'm really racking my brain trying to come up with exactly how this
can be done... thanks to whatever help anyone can offer....

What about using a nested DataGrid within a datagrid???? Would that work
and are there any issues that I may run into?
Jul 14 '06 #2
Zamael <no*****@gmail.comwrote in
news:Xn*****************************@63.218.45.254 :

Okay; I gave up on attempting to do nested DataGrid... couldn't get the
data to bind effectively; ran into a ton of errors... so... I'm back at my
starting point. Anyone have any thoughts out there?
Zamael <no**********@orignalitysux.comwrote in
news:fe********************************@4ax.com:
>So here's what I got:

Datagrid with multiple controls but the ones in question are 3
labels. Basically the three labels should be showing data pulled from
a database. To complicate things, the datasource on the datagrid is
a different dataset that I need to use for the labels; and to
complicate the situation even further, 1 of the labels will have
"growing" data....
Situation:
(labels should look like this)
<label1>Cx, </label1><label2>Dx,x1</label2><label3>static
text</label3>

Cleaned up: Cx, Dx, x1 Text
the x's are integers; however the D may have more than 1 integer.

The data is basically a Cycle, Day, Info scenario. You can have
multiple cycles (C) with multiple days (D) for each cycle and the
last label is just a text dedicated to each cycle.

Possibilities include:
C1, D1, 3 Text
C3, D5, 10 Text2
C6, D3, 13, 18 Text 3
C1, D15 Text4
and so on.

I'm really racking my brain trying to come up with exactly how this
can be done... thanks to whatever help anyone can offer....


What about using a nested DataGrid within a datagrid???? Would that
work and are there any issues that I may run into?
Jul 14 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Bo Peng | last post by:
Dear Python group: I am planning on an application that involves several complicated C++ classes. Basically, there will be one or two big data objects and some "action" objects that can act on...
10
by: Myster Ious | last post by:
Polymorphism replaces switch statements, making the code more compact/readable/maintainable/OO whatever, fine! What I understand, that needs to be done at the programming level, is this: a...
6
by: S P Arif Sahari Wibowo | last post by:
Hi! I am thinking to have a client-side script doing processing on file downloading, basically the script will process a downloaded file from the server before it received by the user. For...
11
by: No Such Luck | last post by:
I had a situation in a C program, which contained hundreds of calls to "fprintf (stdout, ...", where I needed to flush stdout immediately after any stream was sent there. More specifically, I...
0
by: Michael Rodriguez | last post by:
I have what I believe to be a typical master/detail scenario. I know how to use a transaction on the sql updates, but what about any dataset merges? My scenario goes like this: // call data...
8
by: Daniel | last post by:
Hi, Does anyone know if it is possible to put an aspx page inside of another? OR run an aspx page and capture the output as a string and then write this out to a page.... So for example say...
20
by: Dilip | last post by:
I understand the C++ standard does not talk about threading. My question here is directed more towards what happens when a STL container is used in a certain way. I'd appreciate any thoughts. I...
110
by: alf | last post by:
Hi, is it possible that due to OS crash or mysql itself crash or some e.g. SCSI failure to lose all the data stored in the table (let's say million of 1KB rows). In other words what is the worst...
11
by: CoreyWhite | last post by:
So I'm reading books about perl, which may not be quite as powerful as C++ but at least has more power than C & is very easy to learn from the manuals. I'm also buying books on C++, and books...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.