Click here to Skip to main content
15,893,381 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
i want a function that find the data source of a database (the server name) and then store it in a webconfig file or in the database itself
also i want to ask is it efficient to use this way for a server client application which is to store the database at a server and install the application for the client and gives him the data connection string through the webconfig file
any responses please?
Posted

1 solution

Hi Moh,

Hope Managing Data Sources in C#[^] you can find your solution.
And you can refer the below links for further implementation
link1[^]
link2[^]

Hope this helps you a bit.

Regards,
RK
 
Share this answer
 
v2

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