I would like to use CopyFromRecordset Excel method to export data to Excel by avoiding looping through the records.
I have SqlDataReader populated with data.
Would it be possible to implement?
Hi, you seem a guy who avoid long coding. By the way, I would suggest you to use it in a proper way (as per standards) and not avoid looping. Any other technique may slow down your app. Btw, you can write a sub for looping and call that within your main code.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.