0

I am uploading an image and trying to save image path in database, but I get an error.

enter image description here

and modelState.valid is null

enter image description here

Please suggest a way to save image path to the database.

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
  • See this link for help: https://stackoverflow.com/questions/71359898/iformfile-upload-image-asp-net-core-mvc-is-showing-null-value-always – SoftwareDveloper Jul 30 '23 at 15:00
  • **WHAT** error ? Remember: we cannot see and read your screen, nor can we read your mind - you need to **SHOW US** the relevant info in order for us to be able to help ... – marc_s Jul 30 '23 at 16:50
  • it is showing CoverImagePath is required – Anubhav Ray Jul 31 '23 at 00:45

0 Answers0