binding label controls to dataset items

sysdesigner

Newcomer
Joined
Feb 8, 2004
Messages
10
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 "DataSet.Tables(0).Rows(2).Item("question_txt")" 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.

Thanks,
Shawn
 
Back
Top