Hello,

My question is quite straightforward:

How do I get the parent row of a deleted (child) row. If I use the method
"GetParentRow" of the child then it returns "nothing". I have tried using the
version parameter of the method but without any result.

I probably could use the original value of the deleted row to "manually" go
through the parent rows and find its parent but this seems like a lot of work
for something as simple as this.

Hoping for a quick answer,

WiZZiX

Re: How to get the parent of a deleted (child) row by Miha

Miha
Fri Oct 22 09:16:47 CDT 2004

Hi,

I guess you are stuck with manual way.

--
Miha Markic [MVP C#] - RightHand .NET consulting & development
miha at rthand com
www.rthand.com

"WiZZiX" <wizzix@nospam.nospam> wrote in message
news:DE17B1E4-F7E8-4BC4-9BA6-3067FE93D9C5@microsoft.com...
> Hello,
>
> My question is quite straightforward:
>
> How do I get the parent row of a deleted (child) row. If I use the method
> "GetParentRow" of the child then it returns "nothing". I have tried using
> the
> version parameter of the method but without any result.
>
> I probably could use the original value of the deleted row to "manually"
> go
> through the parent rows and find its parent but this seems like a lot of
> work
> for something as simple as this.
>
> Hoping for a quick answer,
>
> WiZZiX



Re: How to get the parent of a deleted (child) row by Sahil

Sahil
Fri Oct 22 10:07:33 CDT 2004

How about dropping down to XML for this? Then using the XMLDOM to find the
relevant row?

- Sahil Malik
http://www.dotnetjunkies.com/weblog/sahilmalik
Please reply to the newsgroups instead of email so everyone can benefit from
your reply.


"Miha Markic [MVP C#]" <miha at rthand com> wrote in message
news:%23cyGEIEuEHA.3200@TK2MSFTNGP14.phx.gbl...
> Hi,
>
> I guess you are stuck with manual way.
>
> --
> Miha Markic [MVP C#] - RightHand .NET consulting & development
> miha at rthand com
> www.rthand.com
>
> "WiZZiX" <wizzix@nospam.nospam> wrote in message
> news:DE17B1E4-F7E8-4BC4-9BA6-3067FE93D9C5@microsoft.com...
> > Hello,
> >
> > My question is quite straightforward:
> >
> > How do I get the parent row of a deleted (child) row. If I use the
method
> > "GetParentRow" of the child then it returns "nothing". I have tried
using
> > the
> > version parameter of the method but without any result.
> >
> > I probably could use the original value of the deleted row to "manually"
> > go
> > through the parent rows and find its parent but this seems like a lot of
> > work
> > for something as simple as this.
> >
> > Hoping for a quick answer,
> >
> > WiZZiX
>
>



Re: How to get the parent of a deleted (child) row by Miha

Miha
Fri Oct 22 11:06:07 CDT 2004

Hi Sahil,

Isn't this a bit of an overkill? :-)

--
Miha Markic [MVP C#] - RightHand .NET consulting & development
miha at rthand com
www.rthand.com

"Sahil Malik" <contactmethrumyblog@nospam.com> wrote in message
news:u8vpbjEuEHA.3200@TK2MSFTNGP09.phx.gbl...
> How about dropping down to XML for this? Then using the XMLDOM to find the
> relevant row?
>
> - Sahil Malik
> http://www.dotnetjunkies.com/weblog/sahilmalik
> Please reply to the newsgroups instead of email so everyone can benefit
> from
> your reply.
>
>
> "Miha Markic [MVP C#]" <miha at rthand com> wrote in message
> news:%23cyGEIEuEHA.3200@TK2MSFTNGP14.phx.gbl...
>> Hi,
>>
>> I guess you are stuck with manual way.
>>
>> --
>> Miha Markic [MVP C#] - RightHand .NET consulting & development
>> miha at rthand com
>> www.rthand.com
>>
>> "WiZZiX" <wizzix@nospam.nospam> wrote in message
>> news:DE17B1E4-F7E8-4BC4-9BA6-3067FE93D9C5@microsoft.com...
>> > Hello,
>> >
>> > My question is quite straightforward:
>> >
>> > How do I get the parent row of a deleted (child) row. If I use the
> method
>> > "GetParentRow" of the child then it returns "nothing". I have tried
> using
>> > the
>> > version parameter of the method but without any result.
>> >
>> > I probably could use the original value of the deleted row to
>> > "manually"
>> > go
>> > through the parent rows and find its parent but this seems like a lot
>> > of
>> > work
>> > for something as simple as this.
>> >
>> > Hoping for a quick answer,
>> >
>> > WiZZiX
>>
>>
>
>



Re: How to get the parent of a deleted (child) row by Sahil

Sahil
Fri Oct 22 12:24:44 CDT 2004

Yeah, it might be an overkill .. I was just trying to avoid the string
comparisons on the parent fields. XSLT performance in 2.0 is gonna go up by
400%, so I figured XMLizing your logic wouldn't be so bad.

- Sahil Malik
http://www.dotnetjunkies.com/weblog/sahilmalik
Please reply to the newsgroups instead of email so everyone can benefit from
your reply.


"Miha Markic [MVP C#]" <miha at rthand com> wrote in message
news:emIsLEFuEHA.3156@TK2MSFTNGP12.phx.gbl...
> Hi Sahil,
>
> Isn't this a bit of an overkill? :-)
>
> --
> Miha Markic [MVP C#] - RightHand .NET consulting & development
> miha at rthand com
> www.rthand.com
>
> "Sahil Malik" <contactmethrumyblog@nospam.com> wrote in message
> news:u8vpbjEuEHA.3200@TK2MSFTNGP09.phx.gbl...
> > How about dropping down to XML for this? Then using the XMLDOM to find
the
> > relevant row?
> >
> > - Sahil Malik
> > http://www.dotnetjunkies.com/weblog/sahilmalik
> > Please reply to the newsgroups instead of email so everyone can benefit
> > from
> > your reply.
> >
> >
> > "Miha Markic [MVP C#]" <miha at rthand com> wrote in message
> > news:%23cyGEIEuEHA.3200@TK2MSFTNGP14.phx.gbl...
> >> Hi,
> >>
> >> I guess you are stuck with manual way.
> >>
> >> --
> >> Miha Markic [MVP C#] - RightHand .NET consulting & development
> >> miha at rthand com
> >> www.rthand.com
> >>
> >> "WiZZiX" <wizzix@nospam.nospam> wrote in message
> >> news:DE17B1E4-F7E8-4BC4-9BA6-3067FE93D9C5@microsoft.com...
> >> > Hello,
> >> >
> >> > My question is quite straightforward:
> >> >
> >> > How do I get the parent row of a deleted (child) row. If I use the
> > method
> >> > "GetParentRow" of the child then it returns "nothing". I have tried
> > using
> >> > the
> >> > version parameter of the method but without any result.
> >> >
> >> > I probably could use the original value of the deleted row to
> >> > "manually"
> >> > go
> >> > through the parent rows and find its parent but this seems like a lot
> >> > of
> >> > work
> >> > for something as simple as this.
> >> >
> >> > Hoping for a quick answer,
> >> >
> >> > WiZZiX
> >>
> >>
> >
> >
>
>



Re: How to get the parent of a deleted (child) row by wizzix

wizzix
Mon Oct 25 04:53:03 CDT 2004

Hello both,

Thanks for all the replies.
My stubourness forced me to try getting the parent row again using the
datarowversion parameter of the GetParentRow method. Using original as the
parameter I now did seem to get the parent row and was able to modify it.

I just thought I should mention it althought I am surprised that you did not
correct me by saying it should work in the first place. Am I missing
something here.

Thanks again though,
WiZZiX


"Miha Markic [MVP C#]" wrote:

> Hi,
>
> I guess you are stuck with manual way.
>
> --
> Miha Markic [MVP C#] - RightHand .NET consulting & development
> miha at rthand com
> www.rthand.com
>
> "WiZZiX" <wizzix@nospam.nospam> wrote in message
> news:DE17B1E4-F7E8-4BC4-9BA6-3067FE93D9C5@microsoft.com...
> > Hello,
> >
> > My question is quite straightforward:
> >
> > How do I get the parent row of a deleted (child) row. If I use the method
> > "GetParentRow" of the child then it returns "nothing". I have tried using
> > the
> > version parameter of the method but without any result.
> >
> > I probably could use the original value of the deleted row to "manually"
> > go
> > through the parent rows and find its parent but this seems like a lot of
> > work
> > for something as simple as this.
> >
> > Hoping for a quick answer,
> >
> > WiZZiX
>
>
>