Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3496562
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T12:15:47+00:00 2026-05-18T12:15:47+00:00

the connection string property of the dbml file is currently being read from the

  • 0

the connection string property of the dbml file is currently being read from the application settings file. in the dbml designer code it looks like this :

Global.HMIS.My.MySettings.Default.NewVersionConnectionString

if i try to edit the connection string from the properties window of the dbml file, i cannot change anything there its all read only. also if i try to edit it directly in the code file it changes every time i save. so the hell do i set the connection string property to read from app.config instead of settings.settings file

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T12:15:48+00:00Added an answer on May 18, 2026 at 12:15 pm

    Add your own string to application settings and use it with DataContext(string) constructor, as recommended in the previous post. You can set it initially to connection string generated by LINQ to SQL Wizard, or select any other appropriate default value. Add Connection String editbox to the program Options dialog, allowing to change it to user.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to get connection string using app.config file this is my app.config file
I have a connection string being passed to a function, and I need to
You can change the connection string at run-time like this. You make the connection
When i debug my application, it gives an error that SelectCommand.Connection Property is not
At work we currently have a very large web application with a connection to
I'm trying to set a DataAdapter connection string to point to %APPDATA% from within
I am using following code to setup connection string: ConfigurationSourceBuilder builder = new ConfigurationSourceBuilder
I am using OleDB to connect to an excel file using this connection string
I am having some trouble with one of my ASP.NET 2.0 application's connection string.
I need to sort a collection of objects by a utf-8 string property (built

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.