Results 1 to 3 of 3

Thread: Deleting from a datadrid in .NET

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jun 2001
    Location
    USA
    Posts
    71

    Deleting from a datadrid in .NET

    I am using the datagrid to add,update,delete to a SQL7 database. Prior to commiting the changes to the database, I let the user view the changes using getChanges method of the dataset. This works fine for additions and updates but it does not show deleted records.Does anybody know how to view or grab the data prior to hitting the delete key

  2. #2
    Frenzied Member Memnoch1207's Avatar
    Join Date
    Feb 2002
    Location
    DUH, Guess...Hint: It's really hot!
    Posts
    1,861

    Re: Deleting from a datadrid in .NET

    Originally posted by packman
    ...This works fine for additions and updates but it does not show deleted records....
    If the records were deleted, then how would it show them???
    Being educated does not make you intelligent.

    Need a weekend getaway??? Come Visit

  3. #3
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    There MAY be a way, using the rowstate.Deleted and checking against the original data?...
    Dataviews might aid the solving of this also.

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