Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 4 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4: in C# and VB by Imar Spaanjaars; ISBN: 9780470502211
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4 : in C# and VB section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 8th, 2011, 03:29 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

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.
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!

Last edited by Imar; June 8th, 2011 at 04:40 PM..
The Following User Says Thank You to Imar For This Useful Post:
DragonLEG (June 8th, 2011)





Similar Threads
Thread Thread Starter Forum Replies Last Post
Using basic login controls jgtech BOOK: Beginning ASP.NET 4 : in C# and VB 3 October 28th, 2010 02:38 AM
The Login Controls HovhannesGo BOOK: Beginning ASP.NET 4 : in C# and VB 3 September 17th, 2010 07:59 AM
Login controls : Way to customize them ? Rushino BOOK: Beginning ASP.NET 4 : in C# and VB 2 May 15th, 2010 01:07 PM
Problem regarding Login controls bond007 ASP.NET 2.0 Basics 1 April 16th, 2009 01:14 AM
Login Controls mashype ASP.NET 3.5 Basics 4 January 26th, 2009 03:07 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.