I don’t see a LINQ option when picking a data source for a grid view – any ideas? I see the other options like SQL etc.
If I go into a page in another folder, I’m able to see this option.
I just upgraded to Visual Web Developer 2010.
Thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I think there is a disconnect here. I assume you are talking about the ASP.NET design view for a aspx page, and you have the Choose Data source option. The only way to get “Linq” to show up when you choose new data source in the wizard is to have a .Net 3.5 or 4.0 as your target framework.
Then this is going to walk you through selecting a context object which if you don’t have a Linq to SQL DBML setup in the project or in a referenced project you most likely will not have anything to select in the drop down.
In short it looks like you do not have the write frame work targeted by your project you are trying to do this with.