TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
anuimago
NA
6
0
Database connection
Oct 12 2006 4:20 AM
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
Reply
Answers (
1
)
SqlConnection - Error
Server Timeout Error