Thanks very much. After trying many of the suggestions among the search 
results, the solution that worked was:

http://social.msdn.microsoft.com/Forums/fi-FI/wpf/thread/b7d8a3dd-031e-481f-94b7-919373c61f4b

The only problem is that the settings.designer.cs file seems to be 
auto-generated, meaning that the changes could get lost if the IDE re-generates 
the file.

Thanks
Manish

-----Original Message-----
From: sqlite-users-boun...@sqlite.org [mailto:sqlite-users-boun...@sqlite.org] 
On Behalf Of Kevin Benson
Sent: Friday, March 02, 2012 5:16 PM
To: General Discussion of SQLite Database
Subject: Re: [sqlite] how to replace connection string at runtime

--
   --
      --
         --ô¿ô--
        K e V i N


On Fri, Mar 2, 2012 at 2:47 PM, Agrawal, Manish <magra...@usf.edu> wrote:

>  My question is: what is the simplest way to replace the connection string
> in a C# application with the file location at runtime?      I do want the
> convenience of the table objects that have been auto-generated.

https://www.google.com/search?num=100&hl=en&site=&q=c%23+sqlite+app.config+%22how+to+change%22+connection+string
 --
   --
      --
         --ô¿ô--
        K e V i N
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to