4
Reply

Using OleDB with memorystream

Sachin Kalia

Sachin Kalia

Jun 13 2011 8:00 AM
8.7k
Hi everyone,

I know how to use OleDB to open up a CSV file and treat it like a database table, but I have a method that is passed a memorystream, which represents the byte array of a CSV file, and I need to use OleDB to read from that. How can I open and connect to that memorystream, like I could with a CSV file on disk?

Thanks.



Answers (4)