创建一个可以使用互联网访问数据的桌面应用 [英] create a desktop app that can access data using internet
本文介绍了创建一个可以使用互联网访问数据的桌面应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在vb2012中创建一个Windows桌面应用程序,我想在线保存数据库,因此每个用户都可以从我的软件中随处访问数据。我也希望该软件能够快速运行并支持多用户。我熟悉vb和sql server。但我不知道这个。我可以实现这一点吗,服务器托管可能吗?
请帮助和指导我,我想用sqlserver数据库创建桌面应用程序。
非常感谢......
I want to create a windows desktop app in vb2012 , and i want to save it database online , so every user can access data from anywhere from my software . I also want that software work fast and support multiusers. I am familiar with vb and sql server. But i don't knw about this .how can i achieved that , is that possible with server hosting ?
plz help & guide me , i want to create desktop app with sqlserver database.
thanks a lot......
推荐答案
根据您的问题,webservice是最佳选择。您可以在Winform中调用Web服务。请查看以下文章
简单示例:WCF服务 [ ^ ]
另外,为什么Windows应用程序?为什么不是网络应用?使用MVC + WCF。
Based on your question, webservice is best option. You could call the webservice in your Winform. Check the below article
A Simple Sample: WCF Service[^]
Alternatively, why Windows application? why not web application? Go with MVC + WCF.
这篇关于创建一个可以使用互联网访问数据的桌面应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文