Bind Data to Multiple Labels From Multiple DataSources
Posted
by Steven
on Stack Overflow
See other posts from Stack Overflow
or by Steven
Published on 2010-05-19T20:24:33Z
Indexed on
2010/05/19
21:50 UTC
Read the original article
Hit count: 311
I have two AccessDataSources each returning one row.
I want to use the data in each row to populate content on my page, so I figured I would use a Repeater
or FormView
. However, I would not necessarily want the labels bound to a particular DataSource placed together.
For example, I might want labels from the following columns in order (DataSourceName.ColumnName)
: TestSetup.TestType
, TestSummary.FormattedValue
, TestSetup.DeviceChannel
, TestSummary.CompletedOn
.
How do I handle this? Do I just have a separate Repeater
/FormView
for each value? Can I have both Repeater
's/FormView
's in 'scope' at the same time?
Note: No language preference (C#/VB).
© Stack Overflow or respective owner