Binding Labels controls to a dataitem in a dataset.

D

dotnetguy

Hi,
I am trying to bind 20 label controls on a user control to 20
questions in a dataset. When I try the simple binding, only the Page
Object shows up to be bound to - the dataset is not there. When I try
a custom binding expression then I get this error -- Reference to a
non-shared member requires an object reference. I am instantiating
and populating the dataset in the code behind of the control.

What's the best way to do this?

Thanks,
Shawn
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,065
Latest member
OrderGreenAcreCBD

Latest Threads

Top