In my system, there is a feature that will save the image of the item added, What I do is I will save the filename of the image into SQL server, and the image will be save into the one of the folder of asp.net
here us my code for saving the filename of the image in sql server:
INSERT INTO schemaImage.Image(image_name) VALUES ('image1.FileName')
here is my code for saving the image into the folder:
image1.SaveAs(Server.MapPath("Images/" + image1.FileName))
is it possible to save an image into the database?
What is more proper in saving an image here?