Home > Back-end >  Dbgrid display after insert data and "lost"
Dbgrid display after insert data and "lost"

Time:09-30

Using adoconnection, Delphi adoquery, datasource, dbgrid display data, insert into sql2005 database data, the dbgrid refresh data begins, but over time will disappear, seek help from a great god,

CodePudding user response:

Data in the database of disappear? Don't have successfully saved!

CodePudding user response:

Post code to see see!

CodePudding user response:

Is to directly transfer the ADO, or three layers of connections, two kinds of processing,

CodePudding user response:

If things didn't submitted correctly, then a rollback

CodePudding user response:

Not really written to the database,

CodePudding user response:

If open transaction needs to perform adoquery.com mittrans commit the transaction

CodePudding user response:

Post code is closed and the query

CodePudding user response:

First to see if the database, no word is no successful insertion,
  • Related