I am making a erp using WPF-C# and i have a confustion on how can i connect my app to sql server after compiling. I am asking this because my app connects to DB when i compile it with Visual Studio and SQL server is already installed on my pc, So my erp app works fine on my pc but the issue is that when i run the app on another computer, App runs but DB connection failed. I installed SQL server to another computer but not working.
So i make a form which ask DB connection parameters at the start of the app and user type DB parameters and my app check that DB exist or not. The issue that where i save DB info if it exist, i cant save it in db because app need parameters to connect to DB. So tell me how i save these DB parameter locally that my app checks that the info exist or not , if exist app connects to db and if not a form will appear to user to give DB info.