The name of a logged in user is available on the User property of a page. Something like User.Identity.Name.
By handling a Selecting event you can assign this value to one of the SelectParameters of a data source control. If you search this book's forum you find a number of examples.
Last edited by Imar; June 8th, 2011 at 04:40 PM..
|