views:

6

answers:

0

Hi,

I added a LinqToSQL Class to my project and put it in my App_code folder.

I then added a LinqDataSource to a new web page and tried to configure it to use this class, but it does not show up as an option in the DataContext drop down.

I moved the class to the root directory of my project and it is now available in the DataContext drop down box.

I created a new project with 1 page and tried it again and still the same thing. If the class isn't in my root directory it isn't available.

I have searched the internet and everything I have found indicates that the class should be in my App_code folder, but it doesn't work if I put it there.

Does anyone know why the class isn't available if I put it in the App_code folder.

Thank You