Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 2008 > C# 2008 aka C# 3.0
|
C# 2008 aka C# 3.0 Discuss the Visual C# 2008 (aka C# 3.0) language
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 2008 aka C# 3.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 January 19th, 2010, 03:14 PM
Authorized User
 
Join Date: Sep 2009
Posts: 30
Thanks: 9
Thanked 0 Times in 0 Posts
Default Missing Trend IComparer or LinQ

Hello,

I have a custom grid in which I enter the sales value per Year
e.g.
Year 2000 2001 2002 2003 2005 2006 2007
Sales($) 1005 1006 1002 1001 1004 1005 1002

Ideally the sales should be in Ascending order. I have to find out the missing trend values
e.g
for Year 2002 sales in less < year 2001
for Year 2003 sales in less < year 2002
for Year 2007 sales in less < year 2006

So I have to find out the years where the trend is missing. How can I use IComparer or LinQ to find out the Years where the trend is missing

Thanks... :)





Similar Threads
Thread Thread Starter Forum Replies Last Post
LINQ vaibhavgoe LINQ 4 December 21st, 2009 03:49 PM
IComparer Chapter 5 HELP PLEASE psychonet BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 1 May 18th, 2007 09:17 AM
IComparer implementation Bob Bedell C# 1 February 6th, 2006 02:28 AM
creating a trend graph acetoleverage VB How-To 1 November 3rd, 2005 01:27 AM
Stacking Chart with Rolling Totals and Trend Line smartgir Excel VBA 0 March 9th, 2004 06:19 PM





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