Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 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
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old December 31st, 2009, 05: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.
Reply With Quote
  #2 (permalink)  
Old January 2nd, 2010, 12: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 !
Reply With Quote
  #3 (permalink)  
Old January 2nd, 2010, 02: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
Reply With Quote
Reply


Thread Tools
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
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



All times are GMT -4. The time now is 09:42 PM.


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