Access Remote Server Database by Linq to sql

At last i have completed my desired task. My desired task is to access remote server database from my computer by linq to sql. This is very much simple. Just connect sql server by manually in VS 2008  with remote database and create linq .DBML file. Then change connection string from web.config file.

   <add name=“ConnectionString_Name“ connectionString=“Data Source=server_name; Initial Catalog=database_name;  User ID=id; Password=pwd;  Trusted_Connection=False;” providerName=“System.Data.SqlClient“ />

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s