I am creating a database program in winforms
I have a program currently going to the machine box for the database.
i will be implementing an online database.
what I need is something like this
If connection to onlinedb = True
then online connection string
offline connection string
is there a way to get a value if I connect properly to a DB.