Cannot convert System.IO.Stream to Byte[]
<p>I have an image which is of type <code>varbinary</code> in db.</p>

<p>In BO layer, it is declared as <code>Byte[]</code>. </p>

<pre><code>    public Byte[] Image
    {
         get { return p_image; }
         set { p_image = value; }
    }
</code></pre>

<p>To assign its value in BO layer, I used</p>

<pre><code>objBO.Image = FileUploadControl.FileContent
</code></pre>

<p>Its throws the error </p>

<blockquote>
  <p>Connot convert System.IO.Stream to Byte[]</p>
</blockquote>

<p>Can anybody help in choosing the parameter of <code>FileUploadControl</code> that can be converted to <code>Byte[]</code>? </p>
