从C#.net访问Microsoft Access [英] Accessing Microsoft Access from C#.net

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

问题描述



客户端PC有一个问题.我有一个用于保存员工详细信息和薪资系统的软件.我目前使用Microsoft.jet.oledb 4.0提供从C#.net连接数据库
现在的问题是客户端没有MS Access和Microsoft.jet.oledb 4.0.

在这种情况下,我如何使用C#.net
访问Ms Access
在不安装MS Access的情况下,如何从外部访问此odbcjt32.dll

请帮助我...

谢谢
Vijay r

Hi,

There is an issue from client PC.i have a sofware which use to save the employee details and payroll system.I have currently using Microsoft.jet.oledb 4.0 provide to connect the database from the C#.net

Now the issue is "Client doesn''t have MS Access and Microsoft.jet.oledb 4.0.

In this case How i can access the Ms Access using C#.net

Without installing the MS access, how i can access this odbcjt32.dll from the externally

please help me ...

Thanks
Vijay r

推荐答案

如果您没有访问Access的权限:),可以从此处下载可分发的运行时:

http://www.microsoft.com/downloads/zh-CN/details.aspx?FamilyID = 57a350cd-5250-4df6-bfd1-6ced700a6715 [
If you haven''t got access to Access :) you can download the distributable runtime from here:

http://www.microsoft.com/downloads/en/details.aspx?FamilyID=57a350cd-5250-4df6-bfd1-6ced700a6715[^]


AFAIK,您需要在客户端上安装Microsoft.jet.oledb驱动程序.
AFAIK, you need to install Microsoft.jet.oledb drivers on your client.
There is no other alternative for this.


大家好,

我已经确定了解决方案.

我们可以在运行mdac_typ_exe的同时访问Microsoft jet.oledb 4.0
历史上将包括核心部分OLE DB,ODBC,ADO和RDS

所以现在我的应用程序正在运行:) ...

谢谢
Vijay r
hi All,

I have identified the solution.

we can access the Microsoft jet.oledb 4.0 while running the mdac_typ_exe

This will have historically included the core pieces OLE DB, ODBC, ADO, and RDS

So now my application is running :) ...

Thanks
Vijay r


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

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