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

Staff online

Members online

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,151
Latest member
JaclynMarl
Top