SQLDataSource.... binding

P

Paul Aspinall

Hi
I have an SQLDataSource which is bound to a FormView....

I want to put some of the values from the bound record in a label, but this
is outside of the template... Some of the templates don't even have this
particular field on them all, so I can't use a server side event to populate
the label (??)

How can I populate this label control, which is outside the template, or
doesn't exist in the template, so that it shows the value of a field which
is bound to the record being displayed on the template...??

Thanks
 
C

Christopher Reed

Why not have this label in the template? Since you're using a FormView,
you're only showing one record at a time to begin with.
 

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,764
Messages
2,569,565
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top