Connect visual studio code with local Sql server DB:
<add name="FMECADB" providerName="System.Data.SqlClient" connectionString="Data Source=.;Initial Catalog=FMECADB;Integrated Security=True;" />
Name:- name of the connection string
DataSource:-login details(for local DB we are login using DOT(.))
Initial Catalog:-Name of the DataBase
Connect visual studio code with Server Sql server DB:
<add name="FMECADB" providerName="System.Data.SqlClient" connectionString="Data Source=190.25.118.54;Initial Catalog=FMECADB_Onsite;Integrated Security=false;User Id=FMECADB;Password=1qaz2wsx@"/>
<add name="FMECADB" providerName="System.Data.SqlClient" connectionString="Data Source=.;Initial Catalog=FMECADB;Integrated Security=True;" />
Name:- name of the connection string
DataSource:-login details(for local DB we are login using DOT(.))
Initial Catalog:-Name of the DataBase
Connect visual studio code with Server Sql server DB:
No comments:
Post a Comment