且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用c#在表中插入多个值

更新时间:2022-04-02 08:35:03

只是看起来很快 - 但是你不是用表中的行填充网格 - 然后迭代那些行并插入它们?所以你要插入已经存在的所有记录?所以它不是两次插入它们,它只是再次插入现有的行?
Only looked quickly - but aren''t you populating the grid with the rows from the table - then iterating that collection of rows and inserting them? So you''re inserting all the records that are already there? So it''s not inserting them twice, it''s just inserting existing rows again?