Groups | Blog | Home
all groups > asp.net > february 2006 >

asp.net : SQLDataSource.... binding


Paul Aspinall
2/6/2006 11:28:55 PM
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

Christopher Reed
2/8/2006 6:39:18 AM
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.
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."

[quoted text, click to view]

AddThis Social Bookmark Button