PC Review


Reply
Thread Tools Rate Thread

[C#] Access on deleted row

 
 
Charles DUBANT
Guest
Posts: n/a
 
      10th Feb 2005
here is my code

case (DataRowState.Deleted) :

DataRow deletedRow = journalDataSet.Tables["delete"].NewRow();

foreach (DataColumn column in tableToJournalize.Columns )

{

deletedRow[column] = currentRow[column, DataRowVersion.Original];

}

journalDataSet.Tables["delete"].ImportRow(deletedRow);

break;



The code is in a switch on the datarowstate.

And it doesn't work.

Please Help.


 
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
Deleted outbox message and deleted it from deleted items =?Utf-8?B?QWxiZWFu?= Microsoft Outlook Discussion 1 19th Dec 2006 02:12 PM
Access - security file was deleted - how can I access my database. =?Utf-8?B?cGl4aWU=?= Microsoft Access Security 1 19th Apr 2005 08:02 PM
#DELETED - Error in Access-97 and Access-2000 vishnu Microsoft Access Forms 2 22nd Jul 2004 08:26 AM
can deleted ids be deleted from the deleted section of the messanger forever? -=Ms Mehmud=- Windows XP Messenger 0 12th Sep 2003 08:50 AM
The item could not be deleted, it was either moved or already deleted, or access David Microsoft Outlook 0 7th Aug 2003 08:35 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:48 PM.