Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4.5 > BOOK: Beginning ASP.NET 4.5 : in C# and VB
|
BOOK: Beginning ASP.NET 4.5 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4.5: in C# and VB by Imar Spaanjaars; ISBN: 978-1-118-31180-6
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4.5 : 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 October 21st, 2014, 01:52 AM
Registered User
 
Join Date: Oct 2014
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Question Chapter 15: Try It Out - Hand-Coding Data Access Pages

How do I correct the following build error message that appears when I try to run AddEditReviewHandCoded.aspx in the browser ?

cannot implicitly convert type 'PlanetWroxModel.Review' to 'Review'

it refers to line 59 of the c# page.......
Code:
 .Single()
 
Old October 21st, 2014, 03:45 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,

Hard to tell without seeing your full code. Can you post the markup and the code behind for the offending page along with the full stack trace of the error message?

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!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 15, Try It Out Hand-Coding Data Access Pages WebDev123 BOOK: Beginning ASP.NET 4.5 : in C# and VB 9 May 29th, 2014 07:57 AM
Hand coding data access code Wilfredo Rosado BOOK: Beginning ASP.NET 4 : in C# and VB 10 January 10th, 2014 04:29 PM
Using entities with hand-coding ASP4student BOOK: Beginning ASP.NET 4 : in C# and VB 2 February 5th, 2013 07:58 AM
ch. 15 - Hand Coding Data Acess Code Tulsi BOOK: Beginning ASP.NET 4 : in C# and VB 6 January 11th, 2013 03:45 AM
Hand Coding VS Data Wizards Bulldog BOOK: Beginning Visual Basic 2005 Databases ISBN: 978-0-7645-8894-5 3 May 22nd, 2007 04:21 AM





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