Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
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?

  #2 (permalink)  
Old September 11th, 2010, 11:15 PM
Registered User
Join Date: Sep 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts

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

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.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 anil_yadav26@hotmail.com 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

All times are GMT -4. The time now is 06:32 AM.

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