J
Jonathan Wood
I have a page with a GridView, which uses an ObjectDataSource control to
obtain the data.
The ObjectDataSource control calls a static method on a class I've created.
However, this method needs an argument that is the user key of the current
user.
I know how to use GetUser() to get a MembershipUser object and use the
ProviderUserKey property. But how can I get the ObjectDataSource to use
this?
Is there an even that would allow me to set this somehow?
Thanks!
obtain the data.
The ObjectDataSource control calls a static method on a class I've created.
However, this method needs an argument that is the user key of the current
user.
I know how to use GetUser() to get a MembershipUser object and use the
ProviderUserKey property. But how can I get the ObjectDataSource to use
this?
Is there an even that would allow me to set this somehow?
Thanks!