Feb 18, 2011 12:12 AM|Sionaidh|LINK
I have a data context ClientsDataContext with a clients_Country class. I have a drop down list countriesList using a linqdatasource countriesSource.
When I configure countriesSource using the data source configuration wizard, Show only Data Context objects is not ticked by default. ClientsDataContext appears in the list with other objects. If Show only Data Context objects is ticked, the list is empty.
With Show only Data Context Objects not ticked, I can configure countriesSource so that countriesList displays the list of countries as intended.
This is a website project. The project files are on Drive X, a local partition. I am using Visual Studio 2010 targeting .NET 3.5. The project compiles without error.
Why is it ClientsDataContext does not appear in the data source configuration wizard when Show only Data Context objects is ticked?