Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Display Modes
  #1 (permalink)  
Old April 5th, 2006, 02:49 PM
Registered User
 
Join Date: Apr 2006
Location: , , .
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!





 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 11: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



All times are GMT -4. The time now is 02:31 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.