窗口和Web应用程序的通用数据库 [英] Common database for window and web application

查看:89
本文介绍了窗口和Web应用程序的通用数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经开发了一个带有sql server 2005的窗口应用程序。我想创建一个带有我的窗口应用程序使用的相同数据库的Web应用程序。我怎样才能完成这项任务。



我们可以将本地数据库与网络服务器数据库同步。

我的网络应用程序可以使用本地数据库。

我的窗口应用程序可以使用Web服务器数据库。请帮助我

Hi, i have developed a window application with sql server 2005. i want to create an web application with same database which my window application uses. how can i do this task.

can we sync local database with web server database.
can my web apps uses the local database.
can my window apps uses the web server database. please help me

推荐答案

应用程序连接到数据库 - 无论是Windows窗体应用程序还是Web应用程序都无关紧要。查看连接字符串:在那里告诉可以找到SQL Server的应用程序,以及登录SQL Server的凭据。

但是有一点你应该考虑:如果你的Web应用程序可通过互联网(即不仅是公司的内部网)获得,然后安全性至关重要。
The application connects to the database - and it does not matter whether that's a Windows Forms application or a Web Application. Look at the connection string: there you tell the application where the SQL Server can be found, and the credentials for login to the SQL Server.
But there is one point you should take into consideration: if your Web application is available via the internet (i.e. not only intranet of a company), then security is crucial.


这篇关于窗口和Web应用程序的通用数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆