General information
Category:
The Mere Mortals .NET Framework
Title:
Accessing child rows for current parent row
Environment versions
Network:
Windows 2003 Server
Hi,
Does anyone know how to get a child businessobject to run its hookparentnavigating (or equivilant) method in code? I am currently creating an xml file from some data and to do this I use a parent-child businessobject arrangement.
What I need is this : when I am working on a row on the parent, then the rows belonging to that parent row should be avaliable in the child business object's dataset. Currently I can only find the child rows from the first parent row.
I currently work on the parent rows like this :
foreach(DataRow row in bizObj.GetCurrentDataSet().Tables[bizObj.CurrentTableName].Rows){
// need to get a handle on the child rows for the current DataRow
}
My appologies if this has been covered before but I cannot find any solution to it.
Regards,
Andrew
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