title: convert uploaded file to bitmap image in asp.net
body: <p>I have a <code>FileUpload</code> box and <code>button</code>. In my scenario the files that are going to be uploaded are image files. I want to convert these image files into bitmaps and store them temporarily in a buffer.</p>
  
  <p>I have a function which takes two bitmap inputs and tells us whether the two files match or not.</p>
  
  <p>One of the file will come from the <code>FileUpload</code> control on <code>ButtonClick</code> event and the other bitmap will be read from Database.</p>
  
  <p>Can anyone tell me as to how do I convert these files to bitmaps and pass both the bitmap objects to the function.</p>