StreamReader vs BinaryReader - Upload and save image files in a Web App

  • Thread starter Thread starter Fred Nelson
  • Start date Start date
F

Fred Nelson

Hi:

I'm writing a VB.NET web application where I would like to upload an image
file from the user's computer and either insert it into a database as a BLOB
or save it as a file in a directory that the web server has permission to
write to.

So far I'm not having much luck!

Should I be using StreamReader or BinaryReader?

Also - if there is a simple example of how to do this I would greatly
appreciate it. The examples I have found on the web and in MSDN are very
complicated.

Thanks for your help!

Fred
 
Back
Top