Category - FileUpload
Results 61 - 80 of 108
24 Aug 2018 27 Aug 2018 0 Comments  28557 Views
Here Mudassar Ahmed Khan has explained ith an example, how to upload File without Form Submit (PostBack) using jQuery AJAX in ASP.Net using C# and VB.Net.

The Generic Handler will be used to upload and save files in Folder (Directory) in ASP.Net.

The Generic Handler will be called using jQuery AJAX and the file will be uploaded to Folder (Directory) with Progress Bar using HTML5 Form Data and XmlHttpRequest (XHR).
02 Aug 2018 02 Aug 2018 0 Comments  15215 Views
Here Mudassar Ahmed Khan has explained with an example, how to upload (insert) and download (retrieve) Files from SQL Database using Generic Handler and jQuery AJAX in ASP.Net with C# and VB.Net.

The Generic Handler will insert and retrieve files from SQL Server database in ASP.Net.

The Generic Handler will be called using jQuery AJAX and the file will be uploaded to Database with Progress Bar using HTML5 Form Data and XmlHttpRequest (XHR).
24 Jul 2018 24 Jul 2018 0 Comments  9322 Views
Here Mudassar Ahmed Khan has explained with an example, how to read Excel file directly from FileUpload control without Saving file in ASP.Net using C# and VB.Net.

When the Excel file is uploaded, the Excel File data is available in the InputStream property of the FileUpload control.

Using ClosedXml library, the Excel file data can be easily read from the InputStream property.
29 Jun 2018 29 Jun 2018 1 Comments  29728 Views
Here Mudassar Ahmed Khan has explained with an example, how to bulk import CSV file data into SQL Server database using SqlBulkCopy in ASP.Net using C# and VB.Net.

The CSV file will be uploaded and its data will be read into a DataTable and the DataTable data will be inserted into database using SqlBulkCopy in ASP.Net.
18 Jun 2018 18 Jun 2018 0 Comments  38564 Views
Here Mudassar Ahmed Khan has explained with an example, how to set enctype = ‘multipart/form-data’ attribute for Form Tag with Html.BeginForm Helper method in ASP.Net MVC Razor.

The enctype = ‘multipart/form-data’ attribute is required when the Form is used for uploading Files using HTML FileUpload element.
01 Jun 2018 01 Jun 2018 0 Comments  31590 Views
Here Mudassar Ahmed Khan has explained with an example, how to read and import Excel file directly from Stream without saving in Folder (Directory) on Server’s Disk in ASP.Net using C# and VB.Net.

When the Excel file is uploaded, the Excel File data is available in the InputStream property of the FileUpload control.

Using ClosedXml, the Excel file data can be easily read from the InputStream property.
01 Jun 2018 01 Jun 2018 1 Comments  28730 Views
Here Mudassar Ahmed Khan has explained with an example, how to read and import Excel file using FileUpload control without saving in Folder (Directory) on Server’s Disk in ASP.Net using C# and VB.Net.
25 May 2018 25 May 2018 0 Comments  26212 Views
Here Mudassar Ahmed Khan has explained with an example, how to Save (Insert) Image file in Database using Entity Framework in ASP.Net MVC Razor.

The Image file will be converted into Binary data and will be saved (inserted) into the Database Table using Entity Framework in ASP.Net MVC Razor.
25 May 2018 25 May 2018 0 Comments  10994 Views
Here Mudassar Ahmed Khan has explained with an example, how to display Images inside WebGrid in ASP.Net MVC Razor.

The Image path will be stored in database and the Image files will be saved into a Folder (Directory) on disk.

The path of the Image files will be fetched from database using Entity Framework and will be used to populate the WebGrid in ASP.Net MVC Razor.
25 May 2018 25 May 2018 0 Comments  41334 Views
Here Mudassar Ahmed Khan has explained with an example, how to display Image file using Path stored in database in WebGrid in ASP.Net MVC Razor.

Image files will be uploaded and then will be saved into a Folder (Directory) on disk. The Path of the saved files will be inserted into a Database Table using Entity Framework.
25 May 2018 25 May 2018 0 Comments  15979 Views
Here Mudassar Ahmed Khan has explained with an example, how to upload files without Full PostBack in ASP.Net using C# and VB.Net.

The AJAX Control Toolkit AsyncFileUpload control allows to upload files without Full PostBack using AJAX in in ASP.Net using C# and VB.Net.
24 May 2018 20 Feb 2019 0 Comments  8138 Views
Here Mudassar Ahmed Khan has explained with an example, how to upload multiple files with Progress Bar using AngularJS ngFileUpload in ASP.Net MVC Razor.
24 May 2018 20 Feb 2019 0 Comments  13702 Views
Here Mudassar Ahmed Khan has explained with an example, how to upload Image files to a Folder (Directory) on Server disk using HTML FileUpload and AngularJS in ASP.Net MVC Razor.
24 May 2018 20 Feb 2019 0 Comments  16339 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement File Upload using AngularJS in ASP.Net MVC Razor.

This article will illustrate how to upload multiple files with the standard FileUpload element using HTML5 and AngularJS in ASP.Net MVC Razor.
09 Apr 2018 09 Apr 2018 0 Comments  25289 Views
Here Mudassar Ahmed Khan has explained with an example, how to upload multiple files with Drag and Drop in HTML5 supported browsers using jQuery and AJAX in ASP.Net using C# and VB.Net.

Multiple files such as Image, PDF, Word, Excel, etc. and also large Music and Video files such as MP3 and MP4 will be easily uploaded by simple Drag and Drop of files in HTML5 supported browsers using jQuery and AJAX in ASP.Net.

This article makes use of the jQuery FileDrop plugin which makes use of Generic HTTP Handlers for uploading files with Drag and Drop using jQuery and AJAX in ASP.Net.
16 Mar 2018 16 Mar 2018 0 Comments  25149 Views
Here Mudassar Ahmed Khan has explained an example, how to upload and display Image file using Path stored in database in WebGrid using Entity Framework in ASP.Net MVC Razor.

Image files will be uploaded and then will be saved into a Folder (Directory) on disk. The Path of the saved files will be inserted into a Database Table using Entity Framework.

Finally using the Path, the Image Files will be retrieved and displayed in WebGrid along with feature to Zoom the Image using jQuery.
16 Mar 2018 16 Mar 2018 0 Comments  11733 Views
Here Mudassar Ahmed Khan has explained with an example, how to upload, insert and display Image file from database in WebGrid using Entity Framework in ASP.Net MVC Razor.

Image files will be uploaded and then will be saved (inserted) to database table in Binary format. The saved (inserted) Image files will be retrieved and displayed in WebGrid along with feature to Zoom the Image using jQuery.
16 Jan 2018 16 Jan 2018 2 Comments  99148 Views
Here Mudassar Ahmed Khan has explained with an example, how to upload Image file and display in Image control in ASP.Net using C# and VB.Net.

First the Picture / Photo / Image file will be uploaded using FileUpload control and will be saved in a Folder (Directory) then using Relative Path, the Image file will be displayed in ASP.Net Image control using C# and VB.Net.
16 Jan 2018 16 Jan 2018 0 Comments  110547 Views
Here Mudassar Ahmed Khan has explained with an example, how to open Fileupload (Upload File) on Button Click using JavaScript and jQuery.

This article will illustrate how to hide HTML Fileupload element and open its File Upload dialog on click of a Button using JavaScript and jQuery.
16 Jan 2018 16 Jan 2018 0 Comments  45833 Views
Here Mudassar Ahmed Khan has explained with an example, how to open Fileupload (Upload File) on Image Click using JavaScript and jQuery.

This article will illustrate how to hide HTML Fileupload element and open its File Upload dialog on click of an Image (IMG element) using JavaScript and jQuery.
Results 61 - 80 of 108