PC Review


Reply
Thread Tools Rate Thread

When does DataSet.HasChanges get updated?

 
 
=?Utf-8?B?Sm9uIE1leWVy?=
Guest
Posts: n/a
 
      11th Feb 2005
I am trying to do an immediate update when data changes occur.
Within a DataRow.RowChanged event I am calling the DataAdapter's Update
method, but no updates happen on a newly inserted row. I also call a Sub
within the handler that raises an event to inform a parent control of data
changes. The Sub checks the DataSet.HasChanges - it shows changes on a row
change but not on an insert until a 2nd insert is done.

It appears the DataSet is not informed of a row insert until after the
RowChanged event has completed? The docs don't give any help here - anyone
know?

thanks
 
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
Dataset HasChanges function not true when Dataset is passed as variable darjonase@gmail.com Microsoft VB .NET 7 27th Jun 2006 07:48 AM
HasChanges not being updated? Graham Blandford Microsoft Dot NET 3 28th May 2004 09:55 PM
HasChanges not being updated? Graham Blandford Microsoft VB .NET 1 28th May 2004 09:26 AM
dataSet.HasChanges returns false after dataSet is modified pplppp Microsoft ADO .NET 4 24th Oct 2003 05:26 AM
Re: DataSet.Merge: DataSet.HasChanges returns true Markus Wildgruber Microsoft ADO .NET 6 4th Sep 2003 01:50 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:57 PM.