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

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top