0

Here is an image of my project's tree view:

alt text

As you can see, My linq data object resides in the App_Code folder under 'FYI'.

When I open the ControlPanel.ascx and add the LinqDataSource object, then go to select the context object this is what I see:

alt text

I am baffled as to why it is not showing up. Does anyone know why this might be happening?

Thanks!

2 Answers 2

3

It is important to always rebuild your project or solution after creating (or modifying) your Linq Context Object. The code for those data classes is actually generated at build-time, so it does not exist until you do so. This catches a lot of people, so don't feel bad about asking this one :)

Sign up to request clarification or add additional context in comments.

Comments

0

You just need to build the project...

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.