我建了一个数据集deptDS,
sqldataadapter adp=new sqldataadapter;
adp.update(deptDS.tables[0]);
deptDS.acceptchanges
adp.update(deptDS.tables[0])这个为什么是更新的关联的数据库,而不是数据集呢,还有deptDS.acceptchanges这句话说是提交内存的dataset,什么时候要用,现在有点乱,请大神帮我理一下