Di m cm d a s Ne w SQL Command
cmd.Co mmand Text = "Up date {表A} Set [列1]='临时' Where [列1] = 'a1'"
cmd.E xecuteNonQuery()
cmd.C ommand Text = "Up date {表A} Set [列1]='a1' Where [列1] = 'b1'"
cmd.E xecu teNonQuery()
cmd.C ommand Text = "Up date {表A} Set [列1]='b1' Where [列1] = 'c1'"
cmd.E xecuteNonQuery()
cmd.Co mmand Text = "Up date {表A} Set [列1]='a1' Where [列1] = '临时'"
cmd.E xecuteNonQuery()
[此贴子已经被作者于2015/6/14 9:57:10编辑过]