Click here to Skip to main content
15,910,878 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I create a software that should work on a LAN. The database located on the server system should be used so that this can be distributed software working.

What I have tried:

<connectionstrings>
<add name="ConnectionString">
connectionString="Data Source=.\sqlexpress;Initial Catalog=MemberDB;Integrated Security=True;Pooling=False" providerName="System.Data.SqlClient"/>
Posted
Updated 31-Mar-16 18:02pm

1 solution

Refer to ConnectionStrings.com for various connection strings - link below for SQL;

[ConnectionStrings.com]
A typical connection string would be;
Server=myServer\myInstance;DataBase=myDbName;User Id=myUser;Password=myPassword;
How you store, retrieve & edit the values is up to you.

Kind Regards
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900