Click here to Skip to main content
15,914,905 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi frds,
I use mdf database file. In server side I keep mdf file in D drive. Now I share this mdf file via lan to client system. If Client add any data means, it want to save in this shared .mdf file. For this how can I Proceed this and what is the connection string for this. Please reply me as soon as possible.

Thank You
Posted
Comments
Richard MacCutchan 20-Jan-16 7:47am    
Is this SQL server? If so you connect the same way as on the existing system. If this is not a server based database then you will have contention and synchronisation issues to consider.
Mekalamani 20-Jan-16 8:15am    
Thank You,
how to i give connection string for client side
Richard Deeming 20-Jan-16 8:18am    
The full documentation is in the remarks on MSDN:
SqlConnection.ConnectionString property[^]

You can find examples here:
SQL Server connection strings[^]

1 solution

 
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