![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
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 |
#3
| |||
| |||
|
|
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 (AT) nospam (DOT) nospam> wrote in message news E17B1E4-F7E8-4BC4-9BA6-3067FE93D9C5 (AT) microsoft (DOT) 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 |
#4
| |||
| |||
|
|
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 (AT) TK2MSFTNGP14 (DOT) 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 (AT) nospam (DOT) nospam> wrote in message news E17B1E4-F7E8-4BC4-9BA6-3067FE93D9C5 (AT) microsoft (DOT) 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 |
#5
| |||
| |||
|
|
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 (AT) nospam (DOT) com> wrote in message news:u8vpbjEuEHA.3200 (AT) TK2MSFTNGP09 (DOT) 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 (AT) TK2MSFTNGP14 (DOT) 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 (AT) nospam (DOT) nospam> wrote in message news E17B1E4-F7E8-4BC4-9BA6-3067FE93D9C5 (AT) microsoft (DOT) 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 |
#6
| |||
| |||
|
|
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 (AT) nospam (DOT) nospam> wrote in message news E17B1E4-F7E8-4BC4-9BA6-3067FE93D9C5 (AT) microsoft (DOT) 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 |
#7
| |||
| |||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |