title: Creating a file based on the byte() in VB.NET
body: <p>I am retrieving an image from the SQL database into Byte() variable in VB.NET.</p>
  
  <pre><code>Dim img as byte() = dr(0)
  </code></pre>
  
  <p>How do I create a file in my C:\images\ directory from the above img.</p>
  
  <p>I want to read the img and then create a file with name bimage.gif.</p>