locked
Database - Delete record RRS feed

  • Question

  • Hi,

    I have a database and a datagrid to view the data. Now I want to delete a record in the recordset. I use datagrid.RemoveCurrent() to delete the currently selected record. So far it works. But when I restart my program it still shows that record.

    What do I have to do to make this delete-action permanent?

    Greets,

    John
    Thursday, August 18, 2005 6:15 PM

Answers

  • Hi,

    What datasource are you binding in your datagrid? Be sure that this datasource (DataAdapter maybe) should contain a DeleteCommand definition to be able to send your deletions in your datagrid to the database...

     

     

    cheers,

    Paul June A. Domag

    Friday, August 19, 2005 3:04 AM