Home > Software engineering >  VB OleDbDataAdapter problem
VB OleDbDataAdapter problem

Time:10-09

Everyone a great god, and the following OleDbDataAdapter constructor is the use of doubt:
Da=New OleDb. OleDbDataAdapter (" delete from ABC a where Anderson, d='" + var_id + "' ", strDBConn)

Da. The Fill (ds, "ABC") ds is a dataset object here

Were written in the constructor before a Select query, delete statement used above,
1, here after perform the constructor has substantial effects on the tables in the database?
2, after the fill in memory the ABC in the ds table will be affected?

CodePudding user response:

Da=New OleDb. OleDbDataAdapter (" insert into AAA values (... ), "strDBConn)

Da. The Fill (ds, " BBB
")
Two table name is different, and what is the impact of this??

CodePudding user response:

Ha ha, who gave you ask who explain:) code
  • Related