链接访问表? [英] Linking access tables?

查看:54
本文介绍了链接访问表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法以编程方式使用vb.net链接访问表

Is there any way to programmatically link access tables using vb.net

推荐答案

Linking是什么意思,因为这是一个Access术语表示从另一个数据库应用程序获取数据

"

作业批次 <乔**** @ discussions.microsoft.com>在消息中写道

新闻:09 ********************************** @ microsof t.com ...
What do you mean by Linking as this is an Access term to mean "getting data
from another database application"
"Job Lot" <Jo****@discussions.microsoft.com> wrote in message
news:09**********************************@microsof t.com...
有没有办法以编程方式使用vb.net链接访问表
Is there any way to programmatically link access tables using vb.net



嗨John


我不是在谈论关系。我想创建一个表格的链接

属于一个单独的mdb。在访问中我们右键单击Tables窗口

并使用?? Link Tablesa ??用于创建表格链接的选项,其中包含一些

其他数据库。


是否可以通过编程方式创建此类链接?


" JohnFol"写道:
Hi John

I am not talking about relationships. I want to create a link to a table
which belongs to a separate mdb. In access we right click in Tables windows
and use a??Link Tablesa?? option to create a link to table which resides in some
other db.

Is it possible to create such link programmatically?

"JohnFol" wrote:
你是什么意思链接,因为这是一个访问术语,意思是从另一个数据库应用程序获取数据

" ;工作批次 <乔**** @ discussions.microsoft.com>在消息中写道
新闻:09 ********************************** @ microsof t.com。 ..
What do you mean by Linking as this is an Access term to mean "getting data
from another database application"
"Job Lot" <Jo****@discussions.microsoft.com> wrote in message
news:09**********************************@microsof t.com...
有没有办法用vb.net以编程方式链接访问表
Is there any way to programmatically link access tables using vb.net




..Net程序集不是MDB文件,Access也不使用.Net因此为什么

注释没有意义。


执行相当于右键单击表格窗口,打开

服务器资源管理器,右键单击数据连接并添加新连接。然后你可以
导航到MDB。


要编程,请查看ADO.Net文档并查找

OleDBConnection


" Job Lot" <乔**** @ discussions.microsoft.com>在消息中写道

新闻:FD ********************************** @ microsof t.com ...
..Net assemblies are NOT MDB files, nor does Access use .Net hence why the
comment does not make sense.

To perform the equivalent of a right click in the tables window, open the
Server Explorer, right click Data Connections and add new connection. You
can then navigate to the MDB.

To programatitcally do this look at the ADO.Net documentation and look for
OleDBConnection


"Job Lot" <Jo****@discussions.microsoft.com> wrote in message
news:FD**********************************@microsof t.com...
嗨约翰

我不是在谈论关系。我想创建一个表格的链接
属于一个单独的mdb。在访问中,我们右键单击表格
窗口
并使用链接表。用于创建表格链接的选项
其他数据库。

是否可以通过编程方式创建此类链接?

JohnFol ;写道:
Hi John

I am not talking about relationships. I want to create a link to a table
which belongs to a separate mdb. In access we right click in Tables
windows
and use "Link Tables" option to create a link to table which resides in
some
other db.

Is it possible to create such link programmatically?

"JohnFol" wrote:
你是什么意思链接,因为这是一个访问术语,意思是从其他数据库应用程序获取数据


工作批次 <乔**** @ discussions.microsoft.com>在消息中写道
新闻:09 ********************************** @ microsof t.com。 ..
What do you mean by Linking as this is an Access term to mean "getting
data
from another database application"
"Job Lot" <Jo****@discussions.microsoft.com> wrote in message
news:09**********************************@microsof t.com...
>是否有任何方法可以使用vb.net以编程方式链接访问表
> Is there any way to programmatically link access tables using vb.net




这篇关于链接访问表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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