Answer to Question #21636 in C# for askar
i have a database on a host in web
and now i want connect to this database with c#
please help me
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?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Learn more about our help with Assignments: C#
Leave a comment