'System.Web.UI.WebControls.Image' does not contain a definition for 'FromStream'
<p>I'm trying to get image from web service and I'm getting an error.<br>
<strong>'System.Web.UI.WebControls.Image' does not contain a definition for 'FromStream'</strong>
My Code.</p>

<pre><code>using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.IO;



namespace SmartPoster
{
    public partial class _Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {


            // call web service here
            SmartPosterV1 a = new SmartPosterV1();

            MemoryStream mem = new MemoryStream(a.returnTestImage());
            this.pictureBox1.Image = Image.FromStream(mem);                

        }
    }
}
</code></pre>
