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.
<connectionStrings> <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“ /> </connectionStrings>
- Posted in: Web Development