Sie Ste

Sie Ste

  • NA
  • 196
  • 184.4k

ASP.NET 2010 default connection string problem

Jul 6 2012 4:20 PM
I am having a problem with the default behavior of linq to sql when I added a new table to the app.dbml file to an existing C# 2010 web form app. . The application changed the connection string from appConnectionString (Settings) to OtherConnectionString (Settings).

I am trying to get the app.dbml file file to allow me to change it back to appConnectionString (Settings). However the designer is not allowing me to do that unless i create a new connection string.

Basically I am opening the  app.dbml file so I can see the designer. From here I click on properties and I see the connection string settings.

Thus can you tell me how I can get access to change the setting back to  appConnectionString (Settings)?