C# xml to linq getting information from any two dates - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

C# xml to linq getting information from any two dates

IsraelRodrigueIsraelRodrigue Posts: 3Member


David

Paris
3/29/2012
50 seconds
100


New York
7/28/2012
30 seconds
100


Paris
8/19/2012
70 seconds
60


New York
9/29/2012
60 seconds
200



Lenny

Paris
9/29/2012
51 seconds
130




So what im trying to find is particular data between 2 time frames depending on what user i chose from a drop down list

Let Say i chose Daniel and i chose a timeframe from a starttextbox to be 2/20/12 and a endtextbox to be 9/30/12 So what i want is a listbox that will display the following

User: Daniel

Information from 2/20/12 to 9/30/12

Average Distance from Paris:80

Average Distance form New York:150

Average Duration from Paris:60 seconds

Average Duration from New York:45 seconds

Total Duration:105 seconds

Total Distance:230

To be honest im really lost and dont know how to start.. If anyone want to help me out and give to the right direction
Sign In or Register to comment.