Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
1
Reply
Database connection
Ask a question
Ask a question
Upload Source Code:
Select only zip and rar file.
anuimago
17y
3k
1
Reply
Hi,
What is the difference between the following
1. SqlConnection cn =
new
SqlConnection("Server=(local); Initial Catalog=pubs; uid=sa; pwd= ");
2.
SqlConnection cn = new SqlConnection("Data Source=localhost; Integrated_Security=SSPI;Initial Catalog=pubs");
When will we use the above two in which scenario? Pls explain.
Thanx in advance
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
SqlConnection - Error
Server Timeout Error