0

Can you perform a join on two tables, one is an Access database and the other is a SQL Server database.

I understand that I could perform a SELECT on each database, and then manually join the results. Is this how I'm going to have to do it?

I'm working in VB.net, using OleDBConnection stuff.

If it's possible (which I'm beginning to doubt), can you please provide sample code?

4

2 に答える 2

1

これを探していると思います。これは VB.NET 3.0 用ですが、より高いバージョンではいくつかのバリエーションに適用できます: http://support.microsoft.com/kb/113701

OleDBConnection とデータセットを使用して、VB.NET 4.5 でプログラムによる方法を探している場合: http://msdn.microsoft.com/en-us/library/bh8kx08z.aspx

于 2013-01-12T01:55:37.073 に答える