Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4 > BOOK: Professional ASP.NET MVC 2
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional ASP.NET MVC 2
This is the forum to discuss the Wrox book Professional ASP.NET MVC 2 by Jon Galloway, Scott Hanselman, Phil Haack, Scott Guthrie, Rob Conery; ISBN: Professional ASP.NET MVC 2
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional ASP.NET MVC 2 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 January 18th, 2011, 03:58 PM
Authorized User
 
Join Date: Dec 2010
Posts: 22
Thanks: 10
Thanked 0 Times in 0 Posts
Default Ch1 Table "Dinner" is read only

This isn't an MVC question, but I can't go on with the example without resolving this.

I created the Dinner table in the DB and I went to Show Data to enter the columns. I get one row of all NULLs that is Read Only. I'm used to seeing a blank row where I can start adding data.

Are there some simple things I can try? Otherwise I can zip the environment up and put it somewhere public (probably Google Docs) for you to look at.

TAI,

Knute
  #2 (permalink)  
Old January 24th, 2011, 05:01 PM
Registered User
 
Join Date: Jan 2011
Posts: 9
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Knute, can you post a link to a screenshot of what you are seeing?
  #3 (permalink)  
Old January 25th, 2011, 02:24 PM
Authorized User
 
Join Date: Dec 2010
Posts: 22
Thanks: 10
Thanked 0 Times in 0 Posts
Default Show Data with nowhere to enter data

http://screencast.com/t/qDkfenYS

This shows what I see after a "Show Data" of Dinners". There's nowhere to enter a row.

(I couldn't see a way to insert an image. Sorry.)
  #4 (permalink)  
Old January 25th, 2011, 02:35 PM
Friend of Wrox
Points: 539, Level: 8
Points: 539, Level: 8 Points: 539, Level: 8 Points: 539, Level: 8
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2010
Location: Seattle
Posts: 106
Thanks: 1
Thanked 17 Times in 17 Posts
Default

Mine looks just like yours. Can you click in the cell just below "Title" column? Should be able to fill in each field. When you tab out of the last field, the ID is automatically filled.

Last edited by flyinhawaiian; January 25th, 2011 at 02:42 PM..
The Following User Says Thank You to flyinhawaiian For This Useful Post:
ksnortum (January 25th, 2011)
  #5 (permalink)  
Old January 25th, 2011, 03:23 PM
Authorized User
 
Join Date: Dec 2010
Posts: 22
Thanks: 10
Thanked 0 Times in 0 Posts
Default It worked!

By golly , that worked. Thanks.
  #6 (permalink)  
Old February 14th, 2011, 03:45 AM
Registered User
 
Join Date: Feb 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Would anyone please help to provide me the sample data of NerdDinner? It's best if I can have a table with data... :D

Thank you very much.
  #7 (permalink)  
Old February 14th, 2011, 09:28 PM
Authorized User
 
Join Date: Dec 2010
Posts: 22
Thanks: 10
Thanked 0 Times in 0 Posts
Default Nerd Dinner table

I too would like either the compete table or the full entries to create it. The illustration cuts off a lot of the data in the cells.

Thanks
  #8 (permalink)  
Old February 15th, 2011, 01:17 AM
Friend of Wrox
Points: 539, Level: 8
Points: 539, Level: 8 Points: 539, Level: 8 Points: 539, Level: 8
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2010
Location: Seattle
Posts: 106
Thanks: 1
Thanked 17 Times in 17 Posts
Default

The data does not need to match the book at all, especially latitude & longitude. The only thing that you should pay attention to is the EventDate. You must enter data that is a future date otherwise nothing will show up in your UI. It will hide any thing older than today's date.

The example data in the book has old dates, so it will never show up (unless you mess with the code and adjust it to show data for all dates).
The Following User Says Thank You to flyinhawaiian For This Useful Post:
ksnortum (February 15th, 2011)
  #9 (permalink)  
Old February 15th, 2011, 03:54 PM
Authorized User
 
Join Date: Dec 2010
Posts: 22
Thanks: 10
Thanked 0 Times in 0 Posts
Default

Thanks for the tip.
 


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
MSXSL gives error message for "for" inside "select" ilyaz XSLT 1 December 9th, 2010 05:02 PM
Implementing the "Index" view Template (Ch1 page 51 figure 1-74) lagonave BOOK: Professional ASP.NET MVC 2 3 December 2nd, 2010 11:37 AM
How to theme the "Browse" button of "FileUpload" control? varunbwj BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 2 October 14th, 2009 01:22 AM
Add a CheckBox DataColumn to my DataGridView, Null format: "" or "True" but Error: F ismailc C# 2005 0 September 25th, 2009 04:56 AM
How do you create "fake" sample dinner if id is read-only veritas27 BOOK: Professional ASP.NET MVC 1.0 ISBN: 978-0-470-38461-9 0 June 8th, 2009 12:46 PM



All times are GMT -4. The time now is 09:16 AM.


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