Wrox Programmer Forums
|
BOOK: Beginning ASP.NET for Visual Studio 2015
This is the forum to discuss the Wrox book Beginning ASP.NET for Visual Studio 2015 by William Penberthy; ISBN: 978-1-119-07742-8
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET for Visual Studio 2015 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 July 26th, 2016, 04:48 PM
Registered User
 
Join Date: Jul 2016
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 9 - Data item not found in container

Hi everybody.

During the "try it out" at page 299 I'm facing the following error when I execute my app (step 6):

"A data item was not found in the container. The container must either implement IDataItemContainer, or have a property named DataItem."

I've noticed I needed to add a
Code:
using RentMyWrox.Models;
in order to the code
Code:
Hobby hobby = new Hobby();
to work, but when running (it compiles without errors) it crashes.

Couldn't debug either... breakpoints are never reached.

Does it anybody faced this problem?

Thanks.





Similar Threads
Thread Thread Starter Forum Replies Last Post
using data set as a middle container of the data saidan C# 2008 aka C# 3.0 0 August 3rd, 2009 07:40 AM
HELP!!!! "The Item with the specified name wasn't found" SERIOUSLY, PLEASE! seventy9mph Excel VBA 5 May 12th, 2009 06:20 PM
Getting Error: Item cannot be found in the collection corresponding to the requested dalezjc Classic ASP Basics 11 January 16th, 2009 10:38 AM
OLE Data container Apocolypse2005 Visual Basic 2005 Basics 0 September 28th, 2008 02:27 PM
Generics chapter 12 difficult chapter i found ...? Larryz C# 2005 1 July 4th, 2007 09:40 PM





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