I am new to .net.

I am populating a dataset with a few tables using stored
procedures successfully and then setting primary keys and
relations between table columns.

BUT when I go to use the GetChildRows method my relations
arent returning any child rows.

Is there a better way of assigning the source table's
primary/foreign key relationships to the dataset?

Help is much appreciated.

Re: Using the GetChildRows method C# by Miha

Miha
Fri Nov 21 01:50:23 CST 2003

Hi Karl,

You might want to consider using strong typed datasets - created at design
time.

--
Miha Markic - RightHand .NET consulting & development
miha at rthand com

"Karl" <kwoollaston@linz.govt.nz> wrote in message
news:2d8801c3afde$b201aa80$a601280a@phx.gbl...
> I am new to .net.
>
> I am populating a dataset with a few tables using stored
> procedures successfully and then setting primary keys and
> relations between table columns.
>
> BUT when I go to use the GetChildRows method my relations
> arent returning any child rows.
>
> Is there a better way of assigning the source table's
> primary/foreign key relationships to the dataset?
>
> Help is much appreciated.



RE: Using the GetChildRows method C# by davidsc

davidsc
Fri Nov 21 13:01:49 CST 2003

Karl,

If you could demonstrate the behavior you're seeing with a
small snippet of sample code, there's a better chance that
someone will be able to help you to get the code to work properly.

I hope this information proves helpful.

David Sceppa
Microsoft
This posting is provided "AS IS" with no warranties,
and confers no rights. You assume all risk for your use.
© 2003 Microsoft Corporation. All rights reserved.