P
plonk
Hi
I have the following code which saves the result from a query into an
array. I want to be able to do some mathematic functions on the data,
but can't seem to figure out how to get it into variables of the
correct type.
*********
Dim myWinningTime = (From rrd In myScenario.MeetingInfos _
Join meet In
myScenario.RaceResultDatas On rrd.EventID Equals meet.EventID _
Where meet.RaceID = myEvent _
Select rrd.WinningTime,
rrd.RaceLength, meet.Dec, rrd.RailMetresOut)
Dim answer() = myWinningTime.ToArray
*********
Since the Array is of <anonymous type> I can't manipulate the data.
Ideally I would like to end up with 4 diferent declared variables,
each with their own type.
Please help as I am a bit of a noob
thanks PK
I have the following code which saves the result from a query into an
array. I want to be able to do some mathematic functions on the data,
but can't seem to figure out how to get it into variables of the
correct type.
*********
Dim myWinningTime = (From rrd In myScenario.MeetingInfos _
Join meet In
myScenario.RaceResultDatas On rrd.EventID Equals meet.EventID _
Where meet.RaceID = myEvent _
Select rrd.WinningTime,
rrd.RaceLength, meet.Dec, rrd.RailMetresOut)
Dim answer() = myWinningTime.ToArray
*********
Since the Array is of <anonymous type> I can't manipulate the data.
Ideally I would like to end up with 4 diferent declared variables,
each with their own type.
Please help as I am a bit of a noob
thanks PK