A.Neves,
If you right click on your project, you can add an application
configuration file to your executable file (if you are going to use a config
file, then this is where you need to put it). In there, you can add the
connection string (there are new sections specifically for that), and then
retrieve it through code.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"A.Neves" <mo**********@hotmail.com> wrote in message
news:u2**************@TK2MSFTNGP04.phx.gbl...
Hi,
I'd like to have my ConnectionString retrieved from the same place in
RunTime or in DesignTime (in VS2005). Is It possible? How?
Any help would be very much appreciated.
Thanks.