I have multiple documents stored in Attachment data type in Access database. Using DataReader, I need to read multiple attachments along with their file name and store them on the file system. Will appreciate your help…

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The only data you get over ADO.NET is semi-colon delimited list of attached files’ names. Moreover, you will see that ADO.NET recognizes that column type as String. So, there is no way you would get the actual binary data from the column (on the .NET side).
I would suggest you not using Attachment as data type in Access if you need to access the data from that column outside of Access database. Just create separate table to store all the attachments [links].