Local Application with online MSSQL database


I have created an application in C#. This is a local application. I want to connect it to my MSSQL online. Is this possible?


Yes it is possible, You need to change the connection string from web.config.
you can find the web.config file in the project solution


Thanks. I will try it later today and let you know.


I checked the solution you suggest and in my C#-appplication I can’t find a file named “web.Config”. The kind of application I made is a “windows form application”.


try to find out this from project properties and give your gearhost database information to connect
thats all


i try and this error