While working with Entity Framework, I got below error when I tried to select the data using LINQ in my code behind page.
CS1660: Cannot convert lambda expression to type 'string' because it is not a delegate type This is strange, the solution is nothing to do with the message it shows.
Solution Keep below using statement in the page.
using System.Linq;
and done!
Regards,
Sheo Narayan
http://www.dotnetfunda.com