So I am using the SL4 Business Template and the SQL Membership API. I created a user and I created a custom table that ties to that user.
So I want to have a datagrid that show the item for the CURRENT (WebContext.Current.User) user.
Why is the GUID for the user in WebContext.Current.User??? I need that to join to the 'Items' table.
How can I use the XAML DomainDatasource... from what I see you can only use it if you can bind to something else on the XAML.. for example if I have a calendar control on the page I can bind the domaindatasource to the calendar.... But I want to query giving the 'UserID (GUID)'... so do I need to put a hidden field on the XAML with that value to have access to it? (like the hidden fileds in asp.net)
or am I going about it all the wrong way... its a really simple conceopt.. I have users.. I have items.. there is a relationship.. and I want a datagrid filled with items for a particular user.