How to Display Image in ASP.Net MVC Framework

preview_player
Показать описание
In this Session, will discuss displaying images in MVC application.
We want to display that uploaded image in this session.
by Running the application, we can see that, the image is shown as expected.
Displaying Images in ASP.NET MVC by Save ImageName into database table in ASP.NET MVC.

Do the following things to add imageName into database table:
--First create database and table with imageid and imagename fields
--Create a controller upload and saveimage method
--EDMX file to create model and your DataContext class
--upload file
walk through with me in this video to save imageName into database table and dispaly it in your view.

Retrieve ImageName from Database table and display image stored in root folder in ASP.NET MVC

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

Thanks man you saved my 2 days wasting on other tutorials. Thanks again.

Manchallaayy
Автор

Can you help me images are saved in database message and name also display but image not display only image box display

vikendrasinha
join shbcf.ru