I am new to LINQ and need a LINQ query base on user's selection.
'This selection maybe more if user input more filter
selection = "DeptName = "Accounting" And StudyYear = 2005"
Dim query = From s In db.vwStudies
Select s.StudyID, s.DeptName, s.FirstLastName, s.StudyYear
I got this error message:
Conversion from string "s.DeptName = 'Berman Center' AND" to type 'Boolean' is not valid.
Thank you so much!