从C#代码连接到远程SQL Servre [英] Connecting To remote SQL Servre from C# Code
本文介绍了从C#代码连接到远程SQL Servre的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
欢迎使用任何现有的代码示例.
请我该怎么办.
谢谢
解决方案
使用实体框架
http://www.asp.net/entity-framework/tutorials/the-entity-framework-and-aspnet-%E2%80%93-getting-started-part-1 [为初学者使用ADO.NET [^ ]
连接字符串的示例也可以在connectionstrings.com上找到
i am assign the task to create an application that talks to an SQL Server installed on a server pc on the network. The application has a client interface and a server interface. The client interface will connect to the SQL installed on the server.
Any existing code example is welcome.
please how can i go about this.
Thanks
解决方案
Use Entity Framework
http://www.asp.net/entity-framework/tutorials/the-entity-framework-and-aspnet-%E2%80%93-getting-started-part-1[^]
Try searching a little bit with the keywords C# and .NET. You''ll get thousands of results. In fact, Code Project has many articles on database access from C# like this one: Using ADO.NET for beginners[^]
examples of connection strings can also be found on connectionstrings.com
这篇关于从C#代码连接到远程SQL Servre的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文