General information
Category:
The Mere Mortals .NET Framework
Title:
Delete row from child and call save of parent
I am creating a parent child relationship between to entities (entity 1 as parent and entity 2 as child).
I want to call save of just the parent and the child is saved too.
Now the problem is I want to add few rows in child, update few and delete few ...
Update and Add works fine, but when i do a datarow.delete for child and try to save the parent it throws a "Deleted row information cannot be accessed through the row" exception.
The add and update works as expected..the delete doesnt... has anyone faced this problem?
Thanks,
Amruta
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only