TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
dc
NA
663
0
ASP.NET 2010 change connect to database
Jul 6 2012 12:44 PM
I am working with a C#.net 2010 web form that uses linq to sql to connect to a sql server 2008 r2 database. In one of the connection strings in a linq to sql ( *.dbml) file, the connection string is set to is set to dbconnectionstring(settings). I want to change the connection string to dbConnectionString (Web.config), however where I am clicking on, will not let me change the connection string.
I have opened up the designer for the .dbml file and clicked properties. Where the connection string is setup, I can change that to a new connnection string.
If that is where I can the connection string, how do I get the visual studio ide to allow me to change the connection string to dbConnectionString (Web.config)?
Reply
Answers (
1
)
ASP.NET 2010 connect to database question
2010 asp.net change file name