PC Review


Reply
Thread Tools Rate Thread

AcceptChanges and rejectchanges

 
 
Victor
Guest
Posts: n/a
 
      16th Mar 2005
what happened if i call datatable.acceptchanges() then
datatable.rejectchanges?


 
Reply With Quote
 
 
 
 
Mark Arteaga
Guest
Posts: n/a
 
      16th Mar 2005
Have you tried it? This is what the documentation says:

DataTable.AcceptChanges Method
Commits all the changes made to this table since the last time AcceptChanges
was called.

DataTable.RejectChanges Method
Rolls back all changes that have been made to the table since it was loaded,
or the last time AcceptChanges was called.

So by reading that what do you think would happen?


--
Mark Arteaga
..NET Compact Framework MVP
http://www.neotericsdc.com | http://blog.markarteaga.com


"Victor" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> what happened if i call datatable.acceptchanges() then
> datatable.rejectchanges?
>



 
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
RejectChanges in Datacontext Paul Microsoft C# .NET 0 28th Sep 2009 04:22 PM
DS.RejectChanges =?Utf-8?B?QW50?= Microsoft ADO .NET 4 13th Nov 2006 02:51 PM
If a DataGrid.DataSource is an IList, not a DataTable, is there a way similar to dt.AcceptChanges(), dt.RejectChanges() Liz Microsoft C# .NET 1 13th Oct 2006 04:29 AM
Q: RejectChanges problem Geoff Microsoft VB .NET 3 12th Feb 2006 11:00 PM
Is this a DataSet Row.RejectChanges() BUG ? Ciaran Microsoft Dot NET Compact Framework 0 16th Jul 2004 06:40 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:11 AM.