webaplication + picture upload ?

  • Thread starter Thread starter Cantekin Guneser
  • Start date Start date
C

Cantekin Guneser

i am preparing my graduation project, it is website and i need to hep
about uploading a picture from client side and insert MSSQL server database.
if you can send me example code i would be glad.
 
you will need to use the System.Web.UI.HtmlControls.InputFile class in order
to acuirer the uploaded file.
You then use the PostedFile property of the object.

I recommend saving the file to a directory and just storing the images
virtual path in SQL.
 

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

Back
Top