63 818
Assignments Done
99,5%
Successfully Done
In August 2018

Answer to Question #21636 in C# for askar

Question #21636
i have a database on a host in web
and now i want connect to this database with c#
i cant
please help me
thanks
Expert's answer

Write this code:

private stringConnectionString = "DataSource=.\SQLEXPRESS;AttachDbFileName=|DataDirectory|DataBase.mdf;Integrated
Security=True;Connect Timeout=30;User Instance=True";

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions