system.LinQ.Iqueryable(of date) cannot be converted to date

Posted by acadia on Stack Overflow See other posts from Stack Overflow or by acadia
Published on 2009-10-07T16:23:57Z Indexed on 2010/04/09 7:03 UTC
Read the original article Hit count: 316

Filed under:

Hello, I am trying to fetch data using linQ as shown below.

dim rerun as datetime

     Dim q = (From a In dashboard Where a.SucessFlag = 0 And a.ApplicationID = 1 _
                            Select a.logDate)
                rerunDate = q

I am getting this system.LinQ.Iqueryable(of date) cannot be converted to date

Any workaround will be greatly appreciated.

© Stack Overflow or respective owner

Related posts about linq-to-sql