Results 1 - 5 of 37
29 Jun 2018 29 Jun 2018 1 Comments  633 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  450 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  792 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  780 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  1086 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.
Results 1 - 5 of 37