问题描述
您好。
我在VS2008上创建了一个Quiz Windows应用程序,它主要在sql数据库的帮助下运行。如何在局域网上安装它。如何在服务器和客户端机器之间建立连接以在服务器和客户端之间传输和访问数据库。请给我一些建议。
提前谢谢。
我尝试了什么:
我在一台服务器机器上安装了服务器应用程序,在局域网上的其他机器上安装了客户端应用程序。我为客户端和服务器应用程序提供了相同的连接字符串,即data source = servername \sqlexpress,以便所有数据都存储在服务器计算机中。但是数据存储在服务器计算机中,但它没有传递给客户端计算机。
Hello.
I have created a Quiz windows application on VS2008 which runs mainly with the help of sql database. How do I install it on a lan . How to make connection between server and client machine to transfer and access database between server and client. Please give me suggestion on it.
Thank You in advance.
What I have tried:
I have installed server app in one server machine and client app in other machines on lan. I have given same connection string for both client and server application ie data source=servername\sqlexpress, so that all the data are stored in server machine. But data are stored in server machine but it does not pass to the client machine.
推荐答案
这篇关于如何运行在LAN上使用SQL数据库的Windows应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!