See the ".NET Data Access Architecture Guide" in MSDN: http://msdn.microsoft.com/library/en-us/dnbda/html/daag.asp?frame=true
It discusses the various places you could store connection strings and tells you what's good and bad about each. The chances are that you'll want to use a .config file, but it's worth a look nonetheless. G. -- Graeme Foster ([EMAIL PROTECTED]) Principal Software Engineer Aston Broadcast Systems Ltd. (http://www.aston.tv) Disclaimer: I really don't have a clue what I'm on about. -----Original Message----- From: Daniel Morgan [mailto:[EMAIL PROTECTED]] Sent: Monday, April 22, 2002 8:14 PM To: [EMAIL PROTECTED] Subject: [DOTNET] Storing ADO.NET Connection String Parameters Is there an official Microsoft .NET way to store ADO.NET Connection String parameters? If not, what do you recommend for storing connection data for an ADO.NET data source? I would assume storing it in some XML format. ***************************************************************************** The contents of this email and any attachments are confidential. It is intended for the named recipient(s) only. If you have received this email in error please notify the system manager or the sender immediately and do not disclose the contents to any one or make copies. ** eSafe scanned this email for viruses, vandals and malicious content ** ***************************************************************************** You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.