how to save images to local drive & display images from local drive's folder in image controls
<p>I want to save &amp; display uploaded image and use file upload control images get uploaded &amp; save it  successfully in my local d drive. But the problem is to display saved image in image control? please help me.</p>

<pre><code>protected void btnSubmit_Click(object sender, EventArgs e)
{

    string filename = Path.GetFileName(fileuploadimages.PostedFile.FileName);
    string filepath = ConfigurationManager.AppSettings["imgpath"].ToString();
    string physicalPath = (filepath + filename);        

    if (fileuploadimages.HasFile)
    {
        fileuploadimages.SaveAs(physicalPath);

        Image1.ImageUrl = physicalPath.ToString();            
    }
    else
    {
        ScriptManager.RegisterStartupScript(this.Page, this.GetType(), "javascript", "alert('No File Selected.')", true);
    }
</code></pre>
