PC Review


Reply
Thread Tools Rate Thread

Load Data Conected with relations

 
 
Konrad
Guest
Posts: n/a
 
      10th Sep 2004
Hi

I have typed DataSet.
How to load all Connected data to DataSet.
Say I load one record from table1 and it is
connected to table2. How to simply load it too
to DataSet. I simply want to load all tree
connected data.

Thanks
Konrad


 
Reply With Quote
 
 
 
 
David Lei
Guest
Posts: n/a
 
      10th Sep 2004
Load each table individually, then create relations between tables
and add them to the dataset, see MS reference doc. for more info.

"Konrad" <(E-Mail Removed)> wrote in message
news:uw%(E-Mail Removed)...
> Hi
>
> I have typed DataSet.
> How to load all Connected data to DataSet.
> Say I load one record from table1 and it is
> connected to table2. How to simply load it too
> to DataSet. I simply want to load all tree
> connected data.
>
> Thanks
> Konrad
>
>



 
Reply With Quote
 
Konrad
Guest
Posts: n/a
 
      10th Sep 2004
I have DataSet with relations
and want find function which
loads hierarchical data into DataSet.

"David Lei" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Load each table individually, then create relations between tables
> and add them to the dataset, see MS reference doc. for more info.
>
> "Konrad" <(E-Mail Removed)> wrote in message
> news:uw%(E-Mail Removed)...
> > Hi
> >
> > I have typed DataSet.
> > How to load all Connected data to DataSet.
> > Say I load one record from table1 and it is
> > connected to table2. How to simply load it too
> > to DataSet. I simply want to load all tree
> > connected data.
> >
> > Thanks
> > Konrad
> >
> >

>
>



 
Reply With Quote
 
David Lei
Guest
Posts: n/a
 
      10th Sep 2004
I think Shape dataset is what you are looking for.
use something like this in store procedure to return a
Hierarchical dataset.
SHAPE {SELECT au_id, au_lname, au_fname FROM authors}
APPEND ({SELECT au_id, title FROM titleauthor TA, titles TS
WHERE TA.title_id = TS.title_id}
AS title_chap RELATE au_id TO au_id)


"Konrad" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I have DataSet with relations
> and want find function which
> loads hierarchical data into DataSet.
>
> "David Lei" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Load each table individually, then create relations between tables
> > and add them to the dataset, see MS reference doc. for more info.
> >
> > "Konrad" <(E-Mail Removed)> wrote in message
> > news:uw%(E-Mail Removed)...
> > > Hi
> > >
> > > I have typed DataSet.
> > > How to load all Connected data to DataSet.
> > > Say I load one record from table1 and it is
> > > connected to table2. How to simply load it too
> > > to DataSet. I simply want to load all tree
> > > connected data.
> > >
> > > Thanks
> > > Konrad
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Data Relations In ASP.net Dave Hagerich Microsoft ASP .NET 0 3rd Oct 2005 07:40 PM
ACCESS relations: table clones doesn't keep relations =?Utf-8?B?U3VwZXJib3k=?= Microsoft Access 1 19th Jul 2005 11:57 PM
Help with Data Relations Gary Microsoft VB .NET 1 22nd Mar 2004 10:23 PM
Data Relations and i`ll even pay someone now to tell me! Merlin Microsoft VB .NET 4 3rd Mar 2004 04:28 PM
Need help with data relations Pierre Microsoft ADO .NET 0 27th Oct 2003 03:38 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:47 PM.