Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4 > BOOK: Beginning ASP.NET 4 : in C# and VB
|
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 March 19th, 2015, 05:47 AM
Registered User
 
Join Date: Mar 2015
Posts: 3
Thanks: 2
Thanked 0 Times in 0 Posts
Default chapter 17: Letting users manage their own photo albums without the dropdownlist

Hi, am glad I finally signed up. I have done all the tryouts in the book and i have learned a lot. Anyway I have a question from Chapter 17: Personalization, Letting users manage their own photo albums:

Is there a way to let the authenticated user see only their photo albums(assuming they had created one before), without the use of the dropdownlist in the Default.aspx page that is in the Photoalbums folder?

Am imagining a scenario where the Default.aspx does not have a dropdownlist bound to the photoalbums table, rather, once the user logs in and accesses it,the page loads only their photoalbum.I hope you get what I mean

Is this possible?

a sample code would be appreciated.

Thanks in advance.
 
Old March 20th, 2015, 11:17 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

Yes, you can expand the query to the database to include the user name. This article may help: http://imar.spaanjaars.com/571/letti...t-45-web-forms

Cheers,

Imar
__________________
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!
The Following User Says Thank You to Imar For This Useful Post:
GeorgeLyzlie (March 20th, 2015)





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 17 TRY IT OUT: Letting Users Manage Their Own Photo Albums MeTP BOOK: Beginning ASP.NET 4.5.1 : in C# and VB 5 June 8th, 2015 11:00 AM
Letting user manage content Gudni BOOK: Beginning ASP.NET Web Pages with WebMatrix 4 January 26th, 2013 11:25 AM
Chapter 14 - Inserted photo albums not displaying jrwhite BOOK: Beginning ASP.NET 4 : in C# and VB 0 September 3rd, 2012 02:30 PM
Only admin be able to create albums for users sophia BOOK: Beginning ASP.NET 4 : in C# and VB 9 August 13th, 2012 01:52 AM
All Photo Albums page cbspira BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 7 January 10th, 2009 08:09 AM





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