SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do I use Linq DataSource in a SharePoint 2010 Visual Web-part. When I type <asp:LinqDataSource there are nothing in the Visual Studio auto-complete. When I run the code I would get this error Unknown server tag 'asp:Linq DataSource'

Thanks for your help.

share|improve this question
up vote 1 down vote accepted

Problem solved, refer to this link

share|improve this answer
Welcome to SharePoint Stack Exchange! While this may theoretically answer the question, we prefer inclusion of the essential parts of the answer here, and to provide the link for reference. See How to Answer for general guidelines. – Alex Angas Aug 25 '11 at 6:08

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.