Click here to Skip to main content
15,893,337 members
Please Sign up or sign in to vote.
1.50/5 (2 votes)
See more: , +
Hello Friends,

Any one Can tell me What is the best way to define Connection string in C# window application
Accepting with An example ................



Thanks In advanced.


Any help will be Appreciated.




Thanks & Regards
LAP..................................
Posted
Comments
[no name] 6-Sep-12 15:47pm    
The "best" way to define a connection string is "correctly". What do you mean?
Philip Stuyck 6-Sep-12 15:56pm    
The best way might vary based on your requirements. For instance is it ok for the connection string to be visible for the users ? Does it contain a login/pasword combination, does it need to be encrypted ?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900