Looking through the breakpoint, it was found that ds.table.rows.add (row) was successful, and the data was added to ds.table. Then, after tableadapter.update (ds.table), check the properties of the tableadapter. The adapter's insertcommand is : INSERT INTO `JYDJL` (` time`, `type`,` kind`, `game`,` community service`, `account`,` password`, `PIN`,` character name`, `method`,` ` Communication software`, `Communication software ID`,` Phone`, `Details`) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,? ).
Later check, the data of each field in the parameters in the insertcommand in the adapter of the adaptable adapter was obtained. After the added action was completed, the data was added to the DATAGERIDVIEW bound to DATASET.TABLE, but later found that the The authenticity is written into the database, why is it so? |