ADO.NET Performance : Which Approach will faster and resonable? [closed]
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 questionI 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
精彩评论