Wrox Programmer Forums
|
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 5th, 2006, 01:49 PM
Registered User
 
Join Date: Apr 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default dataset relationship

I am not able to use DB link in my SQL command to join 2 tables from 2 different databases, due to ORACLE database version bug (which has been fixed in version 9.1 or higher). For right now, is there another way to get data from 2 different database, and fill in the 1 datagrid? I tried to create 2 datasets with seperate select statement from different database, and merge these 2 datasets. However it wouldn't do it if the linking field is not the unique key in the dataset.
For example,
Table A: id goal year
              1 10 2005
              1 15 2006
              2 10 2005
              2 20 2006
Table B: id Name
              1 A
              2 B
Since table A and B are in 2 different databases, how can I have the datagrid filled as:
              id goal year Name
              1 10 2005 A
              1 15 2006 A
              2 10 2005 B
              2 20 2006 B

Thanks!










Similar Threads
Thread Thread Starter Forum Replies Last Post
One To One RelationShip prasanta2expert SQL Language 0 November 7th, 2006 06:30 AM
One to one relationship query rohan_man Access 3 August 16th, 2005 10:01 PM
one-to-many relationship sample matfis Classic ASP Databases 2 March 18th, 2005 11:37 AM
Many To Many Relationship samersult BOOK: Beginning VB.NET 2nd Edition/Beginning VB.NET 2003 1 January 26th, 2005 07:09 AM
report without relationship mateenmohd Access 2 December 29th, 2004 06:55 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.