ASPSnippets.com
Results 1 - 5 of 8
20 Jul 2017 20 Jul 2017 0 Comments  3324 Views
Here Mudassar Ahmed Khan has explained with an example, how to export Grid (Html Table) data from database to CSV (Text) file in ASP.Net MVC Razor.

First the Grid (Html Table) will be populated from database using Entity Framework and then the records from the database will be exported and downloaded as Microsoft CSV (Text) file in ASP.Net MVC Razor.
30 Mar 2017 30 Mar 2017 0 Comments  9955 Views
Here Mudassar Ahmed Khan has explained with an example, how to import (insert) CSV file (Text File) data into Database using SqlBulkCopy in ASP.Net MVC Razor.
The uploaded CSV file (Text File) data will be read using File class and the read data will be inserted into SQL Server database using SqlBulkCopy.
SqlBulkCopy class as the name suggests does bulk insert from one source to another and hence all rows from the DataTable can be easily read and inserted using the SqlBulkCopy class.
27 Mar 2017 27 Mar 2017 0 Comments  14493 Views
Here Mudassar Ahmed Khan has explained with an example, how to upload, read and display CSV file (Text File) data in ASP.Net GridView using C# and VB.Net.
CSV file is a Text file which contains Comma Separated (Comma Delimited) values. The data from a CSV file will be read and then after separating the values, a DataTable will be created which will be used to populate the ASP.Net GridView control.
27 Mar 2017 27 Mar 2017 1 Comments  15383 Views
ASP.Net  CSV  MVC
Here Mudassar Ahmed Khan has explained with an example, how to upload, read and display CSV file (Text File) data in ASP.Net MVC Razor.
CSV file is a Text file which contains Comma Separated (Comma Delimited) values. The data from a CSV file will be read and then after separating the values, the data will be populated in HTML Table (Grid) format.
13 Oct 2015 13 Oct 2015 1 Comments  38030 Views
Here Mudassar Ahmed Khan has explained with an example, how to export DataTable data to CSV file in Windows Forms (WinForms) Application using C# and VB.Net.
CSV file is nothing but a Text file where data (records) are stored separated (delimited) by comma character.
Results 1 - 5 of 8