I have successfully uploaded an Image on my SQL Server using ASP.NET MVC 3 C#.
Also I have managed to successfully displayed/downloaded that image in the Index view.
However, the problem occurs when in the Edit view of the data,
If the Image has been changed by selecting the file in the view, the new image stores in the DB and everything is okay.
But when the user does not change the image, the value stored in the SQL Server is a null?
How to avoid this.
i.e, if the image is not selected/updated in the edit view, the previously stored image in the database should not be updated to a null value.