tring srt = "
update bankTable set [money]=" + fol + " where accounts='"+name+"'
update bankTable set [money]=" + foo + " where accounts='"+name1+"'";
兄弟你这句SQL语句我有点晕了,
UPDATE table SET col = expression [, ...] [ FROM fromlist ] [WHERE condition ]
你的 public bool TransferMoney(string name,string name1,float money)// 转帐A-B 结构中怎么出现了两个Update 命令
我也是个初学者,所以有点想不通,难道这样也可以用吗