Background: Using ADO.NET 2.0 with VS2005 RTM.
I have a data column with the following set for its expression property:
Count(Child(SearchItemCollMmbr).intChildItemID)
I have a Dataset with a parent and child table, linked via a relationship
named SearchItemCollMmbr.
Basically the column shows the number of child rows.
After adding some child rows the count increases as expected.
If the user then cancels what they are doing I call the RejectChanges method
on the dataset to undo their changes. The rows are removed but the parent
table's count of it's child records doesn't change. It is as if the
expression on the DataColumn is not re-evaluated.
Is this a bug or am I doing something wrong.
|