title: Opening attachment stored in MS Access using C#
body: <p>I have a column in my table stored in MS Access as a <code>Attachment</code> data type. It stores various files such as docx, pdf's etc.</p>
  
  <p>I am trying to display a file from the table using a documentViewer (obtained from <code>XtremeDocumentStudio .NET</code>).</p>
  
  <p>I also have a combo box on my form with a list of employee ID's. When a particular ID is selected from the combo box, I want the associated attachment with that employee to be displayed in the documentViewer.</p>
  
  <p>I am using this query:</p>
  
  <pre><code>SELECT EmployeeAttachment FROM Employee WHERE EmployeeID = 2
  </code></pre>
  
  <p>I have been stuck on this problem for a while and am not sure on how to implement it. Any help or ideas on how I would do this would be greatly appreciated.</p>