Wrox Programmer Forums
|
BOOK: ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solutio
This is the forum to discuss the Wrox book ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solution by Vincent Varallo; ISBN: 9780470396865
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solutio 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 December 31st, 2009, 06:51 AM
Registered User
 
Join Date: Dec 2009
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 2, system.collection.generic.list

With respect to the Select() and Select(int id) methods in ENTUserAccountData.cs, I get the following errors:

Cannot implicitly convert type 'System.Collections.GenericList<V2.PaidTimeOffDAL. ENTUserAccountSelectAllResult>' to 'System.Collections.Generic.List<V2.PaidTimeOffDAL .ENTUserAccount>'

Cannot implicitly convert type 'V2.PaidTimeOffDAL.ENTUserAccountSelectByIdResult' to 'V2.PaidTimeOffDAL.ENTUserAccount>'

I am struck here. Clarification for this errata provided is required ASAP.
 
Old January 2nd, 2010, 01:54 AM
Registered User
 
Join Date: Nov 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Drop the SPROC on the ENTUserAccount Table

I had the same kind of err but after some time of pondering I resolve it just simply follow the inst on the text (page 42) simply , Drag the ENTUserAccountSelectAll and ENTUserAccountSelectById stored
procedures on top of the ENTUserAccount table not on the method pane of ORM designer . I hope this will solve your problem

Cheers !
 
Old January 2nd, 2010, 03:51 AM
Registered User
 
Join Date: Dec 2009
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Smile Thanks alot

Dear theodrows,
thanks for your reply.
You have given the right solution and it did worked. The same solution was suggested by mr. Vince ( I sent him an email).
Once again thanks indeed
cheers

zia UL hassan





Similar Threads
Thread Thread Starter Forum Replies Last Post
Generic List bound to GridView klavastrius ASP.NET 2.0 Basics 0 April 21st, 2008 12:05 PM
Generic List error ferahl C# 2 October 30th, 2007 03:28 AM
Databinding a Generic Collection to a Datagrid rolandatem ASP.NET 2.0 Professional 0 October 7th, 2006 11:08 PM
Generic collection population from database micmit C# 2005 7 September 19th, 2006 05:53 AM
paging a generic list trancehead ASP.NET 2.0 Professional 0 July 7th, 2006 03:39 AM





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