Category - Image
Results 11 - 15 of 42
06 Sep 2019 06 Sep 2019 0 Comments  9146 Views
Here Mudassar Ahmed Khan has explained with an example, how to download (save) VARBINARY data from SQL Server database table using Entity Framework in ASP.Net MVC Razor.

Files will be uploaded and then will be saved (inserted) to database table as VARBINARY data. The file in VARBINARY data format will be retrieved and displayed in HTML Grid (Table) consisting of a Link for downloading the VARBINARY data as file from database.
30 Jul 2019 30 Jul 2019 0 Comments  9165 Views
Here Mudassar Ahmed Khan has explained with an example, how to export (convert) Image to PDF using iTextSharp in ASP.Net MVC Razor.

The Image will be uploaded using FileUpload element and inside the Controller, the Image will be read as Stream and will be added to iTextSharp PDF document and ultimately downloaded as PDF file in ASP.Net MVC Razor.
20 Jun 2019 20 Jun 2019 0 Comments  7946 Views
Here Mudassar Ahmed Khan has explained with an example, how to upload and display Images in Repeater control in ASP.Net using C# and VB.Net.

The images will be uploaded and saved in a Folder (Directory) on Disk using ASP.Net FileUpload control using C# and VB.Net.

Later the Image files will be fetched from Folder (Directory) and display the same in ASP.Net Repeater using C# and VB.Net.
19 Jun 2019 19 Jun 2019 1 Comments  7829 Views
Here Mudassar Ahmed Khan has explained with an example, how to display Image after upload using FileUpload in ASP.Net MVC Razor.

The Image will be uploaded using FileUpload element and inside the Controller, the Image will be saved into a Folder (Directory) while the URL of the Image will be assigned to a ViewBag object which will be later used for displaying the Image inside the Image element in View in ASP.Net MVC Razor.
14 Jun 2019 14 Jun 2019 0 Comments  8975 Views
Here Mudassar Ahmed Khan has explained with an example, how to display Image based on condition in GridView in ASP.Net using C# and VB.Net.

The ImageUrl property of the Image control is set with an Inline Expression which compares the value of the column and based on the value, the respective Image URL is returned which is used to conditionally display the Image in GridView.
Results 11 - 15 of 42