none
How to update a Access database - deleteing a record VB.NET RRS feed

  • Question

  • I am using VB.NET 2005 and using text boxes to display my data.

     

    I can update and add data to both my tabledata and my database (using oledb.commandBuilder)

     

    But when i use

    dt.rows.removeAt(index)

     

    and then run the commandBuilder - only the record from the datatable is deleted and not from my access file.

     

    HELP

     

     

    Wednesday, August 27, 2008 10:28 AM

All replies

  • Can you post your code? I'm assuming that you've created a DELETE statement for your Command object?

     

    Wednesday, August 27, 2008 11:49 AM