Click here to Skip to main content
Sign Up to vote bad
good
See more: C#.NETSQL2008
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 6 Sep '12 - 9:45

Comments
Wes Aday - 6 Sep '12 - 15:47
The "best" way to define a connection string is "correctly". What do you mean?
Philip Stuyck - 6 Sep '12 - 15:56
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 ?

2 solutions

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

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 OriginalGriff 335
1 Sergey Alexandrovich Kryukov 318
2 Arun Vasu 315
3 Maciej Los 208
4 Aarti Meswania 180
0 Sergey Alexandrovich Kryukov 9,680
1 OriginalGriff 7,539
2 CPallini 4,018
3 Rohan Leuva 3,362
4 Maciej Los 2,951


Advertise | Privacy | Mobile
Web03 | 2.6.130523.1 | Last Updated 6 Sep 2012
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid