.net core 2.0访问Microsoft访问数据库? [英] does .net core 2.0 access Microsoft access database?

查看:73
本文介绍了.net core 2.0访问Microsoft访问数据库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在研究".net core 2.0"项目,我的操作系统Ubuntu 16.04。我想读ms访问数据库。怎么做< g class =" gr_ gr_7 gr-alert gr_gramm gr_inline_cards gr_run_anim
Style multiReplace"数据-GR-ID =" 7英寸; id =" 7">那个?< / g>请帮帮我

推荐答案

您好WageeshK,

Hi WageeshK,

感谢您在此发帖。

根据您的描述,我更新我的Visual Studio并安装.Net core 2.0。之后,我尝试将访问文件附加到.net核心项目。它运作良好。然后我尝试使用代码从访问数据库中读取数据。但是当我添加
引用"System.Data.Oledb"时来自NuGet,我找不到它。

According to your description, I update my Visual Studio and install the .Net core 2.0. After that, I try to attach a access file to the .net core project. It works well. And then I try to use the code to read data from the access database. But when I add reference of "System.Data.Oledb" from NuGet, I do not find it.

对于.net核心数据访问,您可以参考以下博客。它显示了哪些客户端库可用于数据库。

For .net core data access, you could refer to the following blog. It shows what client libraries are available for database.

https://blogs.msdn.microsoft.com/dotnet/2016/11/09/net-core-data-access/

最诚挚的问候,

Wendy


这篇关于.net core 2.0访问Microsoft访问数据库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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