PC Review


Reply
Thread Tools Rate Thread

DataColumn.Expression not re-evaluating after a RejectChanges call

 
 
=?Utf-8?B?T2xkbWFu?=
Guest
Posts: n/a
 
      23rd Dec 2005
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.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Evaluating expression in field =?Utf-8?B?TWFyeSBGcmFu?= Microsoft Access Form Coding 6 11th Jan 2006 05:44 PM
Re: Evaluating an expression... CR Microsoft Excel Programming 0 25th Aug 2005 03:39 PM
Evaluating an expression described in a string? =?Utf-8?B?RGl0Y2hpdA==?= Microsoft Dot NET 2 16th Nov 2003 10:57 AM
Re: Evaluating String Expression Ashok Maheshwari Microsoft VB .NET 5 23rd Aug 2003 10:04 PM
Evaluating String Expression Ashok Microsoft VB .NET 3 21st Aug 2003 07:20 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:10 PM.