Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
1
Answer
sql connection String
mahesh kumar B M
12y
996
1
Reply
Hi, I have installed sql server n my local system.
The server name is :COMPUTER-1354EB\MYSERVER
How do get a connecton string to establish sql connection:
If I use SqlConnection cnPubs = new SqlConnection("Server=COMPUTER-1354EB\MYSERVER;Database=Company;Trusted_Connection=Yes;");
it shows error like invald escape sequence.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
How to Join Multiple Table using Pivot.
AFTER Trigger In SQL Server