Is datareader quicker than dataset when populating a datatable?

前端 未结 8 1112
一个人的身影
一个人的身影 2020-11-29 11:43

Which would be quicker.

1) Looping a datareader and creating a custom rows and columns based populated datatable

2) Or creating a dataAdapter object and just

8条回答
  •  醉话见心
    2020-11-29 11:55

    I cant speak to filling a datatable per se but using a datareader is the most efficient reading method.

提交回复
热议问题