使用Silverlight 5读取本地MDB(Access)数据库? [英] Reading local MDB(Access) database using silverlight 5?

查看:101
本文介绍了使用Silverlight 5读取本地MDB(Access)数据库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正试图找到某种方式来读取本地MDB文件.用户必须拥有自己的访问数据库.我的Silverlight应用程序将与该数据进行交互并执行计算.有什么我可以使用的方法吗?我发现ADO.net并不随Silverlight 5一起提供.到目前为止,我所看到的所有示例都假定Silverlight客户端和数据库之间存在Wcf服务.

I am tring to find someway to read from local MDB file. It is a requirement that user may have their own access database. And my silverlight app would be interacting and performing calculations on that data. Is there any way I can work with it? I have found that ADO.net doesn''t come with Silverlight 5. All the examples I have seen so far, are assuming that there is Wcf service between silverlight client and database.

推荐答案

如何转换为WPF?您可以使用WPF使用ADO.NET.如果需要通过浏览器访问应用程序,则可以使用WPF浏览器应用程序(XBAP).

这是因为silverlight是服务器客户端,因此您需要通过WCF服务进行连接以保护连接.
How about converting to WPF? You can use ADO.NET using WPF. If you need to access your app via browser, you can use WPF browser app (XBAPs).

It''s because silverlight is server-client, and you need to connect via WCF service to secure the connection.


这篇关于使用Silverlight 5读取本地MDB(Access)数据库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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