How to get connection string of server and connect to it?
-
Hi, I'm making a WinForms app with Entity Framework. I need the computers to connect to a same database so all have the same data. I think this could be achieved with connecting them via Ethernet cables and writing the server, database, user and password, so the connection string updates to the given server. I don't know how could I achieve this. Could you please help me?
-
Hi, I'm making a WinForms app with Entity Framework. I need the computers to connect to a same database so all have the same data. I think this could be achieved with connecting them via Ethernet cables and writing the server, database, user and password, so the connection string updates to the given server. I don't know how could I achieve this. Could you please help me?
The server does not broadcast its connection-string; it would make breaking into it too easy. User and password are not required if your security up to date. If on the same network, all users can share data stored there. As for help, the answer is "no". There's enough tutorials on accessing databases out there, and if they too complex I don't wanna help anyway. If you get stuck and have a specific question, we'll gladly help.
Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.