Upload Image and save to Asp.net server

Asked

Viewed 214 times

0

Friends could help me create a function to record the path + image name in the database, and save the image on my server ?

I’m using the field model.PhotoName which is a string to store the path, but I don’t know how to upload to the server.

I want to send the image along with the Employee form.

could help me ?

  • You use a database? I believe it would be feasible to store them in the database as Base64, but just to know, I’ll put the method I use, to save

  • 1
  • I think my problem is different, I want to send my image along with the form, but I want to save it in a folder on my server, and save the path + name in the database

  • Edenilson Bila, I use bank yes.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.