如何建立无dsn的odbc连接 [英] how to make a odbc dsn-less connection

查看:200
本文介绍了如何建立无dsn的odbc连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我正在做一个涉及acces数据库的应用程序,问题是:

数据库将始终位于同一位置,但是该应用程序将在多台计算机上执行,因此我需要在所有计算机上进行DSN.

如何建立连接而不必在所有计算机上都建立DSN?
谢谢

Hi there, Im doing an app that involves an acces database the problem is:

the database will be always in the same location, but the app will be excecuted in several machines so I´ll need to make the DSN in all of them.

How do I make a connection without having to make a DSN in all of the machines?
Thanks

推荐答案

请参阅此; http://www.accessmvp.com/djsteele/DSNLessLinks.html [

我已经使用OleDb库解决了这个大问题并且连接字符串要容易得多.
Ive solved this big problem using OleDb library and a connection string is much easier.


这篇关于如何建立无dsn的odbc连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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