Results 1 to 2 of 2

Thread: Getting information from deleted rows [Resolved]

Threaded View

  1. #1

    Thread Starter
    Frenzied Member Mike Hildner's Avatar
    Join Date
    Jul 2002
    Location
    Des Moines, NM
    Posts
    1,690

    Resolved Getting information from deleted rows [Resolved]

    I have a DataSet and the user can delete a row from a table. I get a DataSet of deletions using DataSet.GetChanges(DataRowState.Deleted). What I'd like to do is get information about these deleted rows before committing to the database. But when I try, I get an exception, the message is "Deleted row information cannot be accessed through the row.".

    So my question is, how can I get information (primary key, for example) from a deleted row?

    Thanks,
    Mike
    Last edited by Mike Hildner; Oct 16th, 2004 at 12:29 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width