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 9091745
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T22:41:10+00:00 2026-06-16T22:41:10+00:00

guys i’m still new on developing system and I’ve encountered this This is the

  • 0

guys i’m still new on developing system and I’ve encountered this

This is the string i use to connect. It is inside of a class.

 public string connections1 = "user id=sa;" +
                              "password=;server=SEAN\\SQLEXPRESS;" +
                              "Trusted_Connection= false;" +
                              "database= METROEXPRESS; ";

How do i change this to put the connection information in an .ini 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-06-16T22:41:12+00:00Added an answer on June 16, 2026 at 10:41 pm

    You’d not using an .ini file; you’d use a .config file, which is an XML file containing your configuration. If you’re doing a rich client app (console, winforms, wpf) add an Application Configuration to your project and go from there (look up the section). If you’re doing an asp.net application, you should already have a web.config, which you can also add a section to.

    Here’s an example: http://social.msdn.microsoft.com/Forums/en-US/adodotnetdataproviders/thread/9a8c9f5a-092e-4c4a-87bb-9f35d8f55da1/

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

Sidebar

Related Questions

Guys, I am very new to c++. I have just wrote this class: class
Guys, I've came across this problem I can't resolve myselg, I'm pretty sure I
Guys, what is function called after my class loaded, where i can call self
Guys I'm getting this really weird fault with my program when I run it.
guys. I use XMLSerializer to keep and restore program options. Here is the code:
Guys i need some help here , im getting this error here at the
Guys, I have the following code that is inside a big while loop that
guys. I'm pretty new to both Silverlight and WCF. What I'm trying to do
Guys Please help me to solve this floating problem.I tried different methods but anything
Guys this code is returning false in a blank page after submit.What is the

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.