I'm having trouble displaying MS SQL data in a chart using LinQ
Code below shows empty Chart
Dim Query = From cust In Db.ViewCustomerHistories _Group By Period = cust.Period _
Into Sales = Sum(cust.Sales)Chart1.ItemsSource = Query.ToList()
The Following Code works and displays a chart
Dim Db = New ARCollectionsDataContextDim Query = From cust In Db.ViewCustomerHistories _ Group By Period = cust.Period _
Into Sales = Sum(1000)Chart1.ItemsSource = Query.ToList()
For some reason money type from a database is causing problems.
Any ideas