Wrox Programmer Forums
|
BOOK: Professional ASP.NET MVC 1.0 ISBN: 978-0-470-38461-9
This is the forum to discuss the Wrox book Professional ASP.NET MVC 1.0 by Rob Conery, Scott Hanselman, Phil Haack, Scott Guthrie; ISBN: 978-0-470-38461-9
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional ASP.NET MVC 1.0 ISBN: 978-0-470-38461-9 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 May 18th, 2010, 09:37 AM
Registered User
 
Join Date: May 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Index page

Hello all,
I'm currently following along the tutorial for the Nerd Dinnner application using VS 2010. Everything seems to work as expected so far excep for the Index (Upcoming Dinners) page.

After creating the page, when I run it, it does not execute the "foreach loop". As a result, no data was captured from the database to display on the view. Any idea why that might have happened?

~JTT
 
Old September 11th, 2010, 11:15 PM
Registered User
 
Join Date: Sep 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hey JTT,
Did you figure out why this happens? I am getting the samething too.
Let me know if you figure it out.
leet_2k
 
Old September 11th, 2010, 11:48 PM
Registered User
 
Join Date: Sep 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I figured it out. Because it is UPCOMING meetings, only those in future will be shown. change date to those in future and it will work.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Refresh/Redirect to a particular Formview Page Index? richard10002 ASP.NET 2.0 Basics 6 August 21st, 2019 01:33 AM
The Index page jeantoutou BOOK: ASP.NET MVC Website Programming Problem Design Solution ISBN: 9780470410950 1 May 17th, 2010 12:55 PM
Index Page Range [email protected] XSLT 8 March 3rd, 2010 04:46 AM
Index page for reports miaminemo BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 0 January 11th, 2006 09:31 AM
Page index error lily611 General .NET 7 August 31st, 2004 11:19 AM





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