How to store the database connection string?

when i develope a database application?

thanks!

[50 byte] By [TonyLee] at [2007-12-16]
# 1

Hi,

It really is your decision. There are a lot of ways to do that. You could do it through (but first encrypt the file) registry, in an xml file, ini file or simply in a text file. Also, some uses sockets that the server would provide the connectionstring...

But I don't suggest hard-coding it in your source code...

Just see all of the posibilities and decide on your part if its work the risk, or worth the sweat...

cheers,

Paul June A. Domag

PaulDomag at 2007-9-9 > top of Msdn Tech,Windows Forms,Windows Forms Data Controls and Databinding...