title: How to let the user select an image from any location using fileupload control for saving into databse
body: <p>I want the user to select any file from this location(C:\Users\Ramakrishnan\Desktop\New folder\001.jpg), however I dont know how to do. For to start with learning, I have hardcoded only one file name in this location i.e 001.jpg. I use a fileupload control</p>
  
  <pre><code>if (FileUpload1.HasFile)
  {
    FileStream FS = new FileStream(@"C:\Users\Ramakrishnan\Desktop\New folder\001.jpg", FileMode.Open, FileAccess.Read);
    byte[] img = new byte[FS.Length];
  }
  </code></pre>
  
  <p>And if possible, I wanna let the user change the entire location. I mean instead of the above hardcoded location, he should load image from anywhere. How to do please :( </p>