Wrox Programmer Forums
|
BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0
This is the forum to discuss the Wrox book ASP.NET 2.0 Website Programming: Problem - Design - Solution by Marco Bellinaso; ISBN: 9780764584640
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 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 March 22nd, 2008, 02:13 AM
Authorized User
 
Join Date: Mar 2008
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Haha, yes, I tried to make my signature separate now.

As a side note to prove my solution: If "article 1" had 50 Votes, but readers all voted only 3 stars, then the TotalRating is 150. If "article 2" had 20 votes, but they all voted 5 stars, then the TotalRating is 100. You must divide TotalRating by Votes to get the true star average. Otherwise, if you only use TotalRating, article 1 would appear to be more "highly rated" than article 2, which is false.

Good luck with the solution. I think it's simple enough that you shouldn't have any more issues!

(By the way, the Article.cs class calls this star value the "AverageRating" property. You will see that my solution has similar math as "AverageRating".)


==========================
what's your mood?
http://www.flixgadget.com
 
Old March 22nd, 2008, 08:15 AM
Authorized User
 
Join Date: Jun 2006
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yup, very right. I think you don't have to prove your solution anymore, I'm already convinced :p
I said about any future issues out of humbleness since all the programming stuff is so unpredictable!
Thanks so much for your solution :)





Similar Threads
Thread Thread Starter Forum Replies Last Post
Ask a article about ASP.NET 2.0 stonefang Classic ASP Professional 0 May 18th, 2007 12:20 AM
An Article- Inheritance in O/R Mapping sarosh SQL Language 0 January 10th, 2007 05:38 AM
Error in BLL.Article.Article.cs drohm BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 2 August 14th, 2006 09:56 AM
An Article - Inheritance in O/R Mapping sarosh General .NET 0 May 16th, 2006 02:57 AM
Select Article from today only morpheus Classic ASP Basics 3 August 4th, 2004 09:46 AM





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