DataContext from dbml not shown in LinqDataSource connection
Posted on 2011-10-24
Using Visual Studio 2010 & ASP.NET 3.5 w/ SQL Server 2008.
I've created a Test.dbml with local tables in it, and then created an aspx page
I then added a LinqDataSource control to it. When I try to configure LinqDataSource's "Configure Data Source" wizard however, and click the "Show only DataContext objects" checkbox, the "Choose your context object" listbox is EMPTY!
Any idea on why the data context from the DBML isn't showing up?
Note: In the code behind (using VB.NET here), I did following as a test, and the datacontext is found (i.e. is valid)
Dim dc As New TestDataContext