How to bind to Profile with DataBinder.Eval()

M

Mitch Freed

Is it possible to use the DataBinder.Eval(object, string) method to
bind to the Profile? I want to pull a specific property value from the
Profile ... can't get it to work:

DataBinder.Eval(Profile, "UserName")

Any help would be appreciated.
 
B

Brock Allen

Probabaly the best approach would be to use the ObjectDataSource and have
your data access class access the profile.
 

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

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,817
Latest member
DicWeils

Latest Threads

Top