LinqDataSource wizard table list is not refreshing after updating LinqToSql classes

Posted by dotnet_learner on Stack Overflow See other posts from Stack Overflow or by dotnet_learner
Published on 2009-10-14T18:10:28Z Indexed on 2010/05/29 13:52 UTC
Read the original article Hit count: 406

I have changed my dbml file like this.

  • I have deleted all the tables and stored procs.
  • I added new tables and stored procs from a new database.

In the code-behind, I can access the new tables and stored procs. However, in the LinqDataSource using the same dbContext when I'm trying to configure the LinqDataSource. I can see all the old tables in the wizard drop-down.

How to refresh the the wizard drop-down so that I can select the newly added tables?

Deleting the old LinqDataSourceand adding a new one is not working.

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about visual-studio-2008