Results 1 - 5 of 21
15 Jul 2019 15 Jul 2019 0 Comments  4681 Views
Here Mudassar Ahmed Khan has explained with an example, how to export to CSV file in ASP.Net MVC Razor.

When the Export Button is clicked, the data from Database is fetched using Entity Framework and a Comma Separated (Delimited) string is generated which is exported and downloaded as CSV file in ASP.Net MVC Razor.
15 Jul 2019 15 Jul 2019 0 Comments  9267 Views
Here Mudassar Ahmed Khan has explained with an example, how to convert List of Objects to CSV file using C# in ASP.Net MVC Razor.

When the Export Button is clicked, the data from Database is fetched using Entity Framework as List of Objects.

Then using a FOR Loop, the data is converted into a Comma Separated (Delimited) string which is later exported and downloaded as CSV file in ASP.Net MVC Razor.
15 Jul 2019 15 Jul 2019 0 Comments  929 Views
Here Mudassar Ahmed Khan has explained with an example, how to export Entity Framework data to CSV file in ASP.Net MVC Razor.

When the Export Button is clicked, the data from Database is fetched using Entity Framework and a Comma Separated (Delimited) string is generated which is exported and downloaded as CSV file in ASP.Net MVC Razor.
12 Jul 2019 12 Jul 2019 0 Comments  1752 Views
Here Mudassar Ahmed Khan has explained with an example, how to export WebGrid to CSV file with formatting in ASP.Net MVC Razor.

First the WebGrid will be populated from database using Entity Framework and when the Export Button is clicked, a Comma Separated (Delimited) string will be generated from WebGrid data and ultimately it will be exported to CSV file in ASP.Net MVC Razor.
23 Oct 2018 23 Oct 2018 0 Comments  2244 Views
Here Mudassar Ahmed Khan has explained with an example, how to export and download RDLC Report in Word, Excel, PDF and Image file formats on Button Click in ASP.Net using C# and VB.Net.

RDLC Report provides function named Render which exports RDLC Report to Word, Excel, PDF or Image file in Byte Array object.

Later the Byte Array object is downloaded in Word, Excel, PDF or Image file using Response Stream.
Results 1 - 5 of 21