PC Review Forums Newsgroups Microsoft DotNet Microsoft ADO .NET Merging a data table, what has changed?

Reply

Merging a data table, what has changed?

 
Thread Tools Rate Thread
Old 30-06-2003, 05:35 PM   #1
Tim Marsden
Guest
 
Posts: n/a
Default Merging a data table, what has changed?


Hello,

I have a data table ,create from a data adapter. Changes
are made to the original data source. I obtain a fresh
copy of the data table. I need to establish what has
changed between the two copies. If I merge the the
resulting table shows all rows to be unchanged. If I
handle the rows changed event, It tell me the additions
and deletion, but also all the rows are changed.

Any ideas ?

Regards Tim
  Reply With Quote
Old 02-07-2003, 10:48 AM   #2
Kevin Sun [MS]
Guest
 
Posts: n/a
Default RE: Merging a data table, what has changed?

How did you detect the change between two data table in the dataset? If
possible, show some code snippet you used?

Sincerely,

Kevin
Microsoft Support

This posting is provided "AS IS" with no warranties, and confers no rights.
Get Secure! - www.microsoft.com/security

--------------------
| Content-Class: urn:content-classes:message
| From: "Tim Marsden" <TM@UK.COM>
| Sender: "Tim Marsden" <TM@UK.COM>
| Subject: Merging a data table, what has changed?
| Date: Mon, 30 Jun 2003 08:35:10 -0700
| Lines: 13
| Message-ID: <073901c33f1d$312781a0$a001280a@phx.gbl>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| Thread-Index: AcM/HTEnoqZRZCELS66J0Qdm7JRdww==
| Newsgroups: microsoft.public.dotnet.framework.adonet
| Path: cpmsftngxa09.phx.gbl
| Xref: cpmsftngxa09.phx.gbl microsoft.public.dotnet.framework.adonet:9549
| NNTP-Posting-Host: TK2MSFTNGXA08 10.40.1.160
| X-Tomcat-NG: microsoft.public.dotnet.framework.adonet
|
| Hello,
|
| I have a data table ,create from a data adapter. Changes
| are made to the original data source. I obtain a fresh
| copy of the data table. I need to establish what has
| changed between the two copies. If I merge the the
| resulting table shows all rows to be unchanged. If I
| handle the rows changed event, It tell me the additions
| and deletion, but also all the rows are changed.
|
| Any ideas ?
|
| Regards Tim
|

  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off