开发者

ADO.NET Performance : Which Approach will faster and resonable? [closed]

开发者 https://www.devze.com 2023-01-20 09:01 出处:网络
Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this
Closed. This question needs to be more focused. It is not currently accepting answers.

Want to improve this question? Update the question so it focuses on one problem only by editing this post.

Closed 5 years ago.

Improve this question

I want to select certain amount of data from one table. Based on those data, I want to check another two tables and insert into 2 tables.

So I want to iterate the result开发者_运维百科ed data. Which way is better(faster) and reasonable using DataReader or DataTable?

Thanks in advance RedsDevils


You end up creating a reader to fill the table. The reverse isn't true, So I would stick with the dataReader.

-Josh

0

精彩评论

暂无评论...
验证码 换一张
取 消