How to Upload Image And Display Image in Asp.Net Mvc With An Example

preview_player
Показать описание
🍒 Related Videos

📂 GitHub Repository

💖 Channel Support

💌 For Business Inquiries

🚶‍♂️ Follow us

----

#AspNetMvc #CodAffection
Рекомендации по теме
Комментарии
Автор

Thank u so much bro.. i saw only 1 video, and my problem is solved..
but i used code first migration method, so i needed some changes in Image model., , i needed to add [NotMapped] before HttpPostedFileBase..
otherwise all is perfect..
thanks alot man..

sahilsidat
Автор

Well done nicely explain, clear English and easy to follow leart tons, one pointer never reile on dbModel /Image if you update your DB you had it it will over written ever thing !!

WaheedRafiq
Автор

Thanks Sir. I finally solved my problem after NINE HOURS on this problem of uploading image. Your way was not working completely. I was doing it with CodeFirst so after 8 hours I got Idea of doing this problem with DTO. im happy alot. Lots of thanks and respect from Pakistan.

muneebzubair
Автор

hey can any one help it show me this error : Object reference not set to an instance of an object.
on this line: string fileName =

sulemanali
Автор

Thanks BOSS... Finally m able to deal images in Asp.Net using ur tutorial. Allah bless you

sohailmalik
Автор

Thank you so much for this video! It really helped me with what I needed and I could also understand very well what was happening there. <3

madalici
Автор

thank you! this was helpful to understand the principles of working with files

iotyur
Автор

I want to create CMS system client side and server side in which server side we will have the option to upload and delete option and in client side it has only view the gallery ... using bootstrap can you guide me?

shumailanasim
Автор

Again watched your video. It is overwhelming to see such a nice video. Thank You SIr!

avisheksaha
Автор

thank you so much it really saved my time.
but how to deal with Updating form any idea please?

linxploit
Автор

Thank you so much!! This was extremely helpful!

nathangetz
Автор

Good video. How can I transfer this model to custom model so auto generation won't overwrite the custom settings?

jamalswiss
Автор

This will only display it in my browser if I have all the images saved in the corresponding folder right? So how do I save a whole picture or how do I make it so that the whole image is uploaded and can be accessed thorugh another computer.

arrogantermistkerl
Автор

this img tag is not working for me. image is not displaying to list

urviamin
Автор

Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.

panuwat
Автор

I didnt undestand what was extension variable used for? Was it just for naming the file?

raycoustum
Автор

Sir i get an error at using(Dbmodel db= new Dbmodel()).. How this is solve?

Error description is "the type or namespace name "Dbmodels" could not be found

unknown_buddz
Автор

have you not put database object in with model?, does not go into tables ? (confused)

rayjames
Автор

thank you, but i'm have a problem 'An error occurred while updating the entries. See the inner exception for details.'
help me, please.

nguyenucthien
Автор

anyone who's not able to view the image ..Make sure you add "/" after the folder's name and before the filename .()/

dipesh