我目前的思路就是
依次循环DataTable,每次都运行一下update DB.dbo.table1 set name=DataTablename where id=DataTableID语句. 直至整个循环结束.这样好像update的次数多了一些,可能对数据库的性能有影响..有没有其他的方法?