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

No members online now.

Forum statistics

Threads
473,777
Messages
2,569,604
Members
45,206
Latest member
SybilSchil

Latest Threads

Top