Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
375
How do I get updates/inserts to happen?
posted

UpdateMode is OnRowChangeOrLostFocus

My tableadapter has insert and update methods.

How do I get the updates to happen, so I can have update/insert behavior, like an Access datasheet?

 

Parents
No Data
Reply
  • 469350
    Offline posted

    Hi,

    I'm not sure I understand your question.

    I'm not familiar with any TableAdapter class. It sounds like maybe you mean the DataAdapter.

    The methods on the DataAdapter have nothing to do with the grid. The grid only interacts with the local data source. So I assume you are using a DataTable or DataSet and filling it with a TableAdapter in this case.

    If you need information on how to use the DataAdapter to write the local changes back to the database, then you will need to consult Microsoft's documentation. The grid is not involved in that part of the process.

     

     

Children