CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: How alter user's database on connectionString in runtime without modify web.config

  1. #1
    Join Date
    Jan 2017
    Posts
    1

    How alter user's database on connectionString in runtime without modify web.config

    My question is this: do I have to after the login page of my web application, just change the user's database on connectionString, but without changing anything in web.config?

    Thank you

  2. #2
    DataMiser is offline Super Moderator Power Poster
    Join Date
    Jul 2008
    Location
    WV
    Posts
    5,354

    Re: How alter user's database on connectionString in runtime without modify web.confi

    Not sure what you mean?

    The connection string can be picked up from the web.config file, it can be hard coded, it can be modified at runtime. It all depends on how you are using it.
    Always use [code][/code] tags when posting code.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)