Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想从一张表中选择一定数量的数据。基于这些数据,我想检查另外两个表并插入到 2 个表中。
所以我想迭代结果数据。使用 DataReader 或 DataTable 哪种方式更好(更快)且更合理?
在此先感谢 RedsDevils
您最终创建了一个阅读器来填充表格。反过来是不正确的,所以我会坚持使用 dataReader。
-乔什