I have a page on which I've thrown a LinqDataSource and a GridView. I've created a DataContext LINQ-to-SQL class called dcResidents.dbml. When I attempt to configure the LinqDataSource to utilize the dcResidents data context - it doesn't appear in the list of options...though under class view (tab in VS) it does appear. I do have several other working datacontexts - why is this one not being recognized by VS?
A:
Okay, here is my work-around:
- Remove data connections and re-add for SQL servers.
- Reference DataContext in code-behind first, then try using drag-and-drop interface.
davemackey
2010-04-15 12:47:37
A:
Still,all the datasources like sql ,xml etc are not visible when i drag and drop in the design view form....
Deepak
2010-07-29 06:39:05