Results 1 - 5 of 12
10 May 2019 10 May 2019 0 Comments  267 Views
Here Mudassar Ahmed Khan has explained with an example, how to convert (export) HTML to Word Document in ASP.Net MVC Razor.

First the Grid (Html Table) will be populated from database using Entity Framework.

When the Export Button is clicked, the HTML string will be sent to the Controller and will be downloaded as Word file in ASP.Net MVC Razor.
10 May 2019 10 May 2019 0 Comments  216 Views
Here Mudassar Ahmed Khan has explained with an example, how to export DataGridView to Word Document in Windows Forms (WinForms) Application using C# and VB.Net.

First a DataGridView will be populated with some data using DataTable and then an HTML Table will be generated using the values from the DataGridView and will be saved to a Folder (Directory).

Finally, the HTML File will be converted into a Word Document using Microsoft Office Interop Library and saved to a Folder (Directory) in Windows Forms (WinForms) Application using C# and VB.Net.
12 Feb 2019 18 Feb 2019 0 Comments  1246 Views
Here Mudassar Ahmed Khan has explained with an example, how to export GridView data to Word document in ASP.Net using C# and VB.Net.

This article will illustrate how to export all Pages of GridView with Paging Enabled to Word document along with formatting i.e. Styles and Colors in ASP.Net.

When the Export Button is clicked, the GridView will be rendered as an HTML string which will be later written to Response Stream and ultimately downloaded as Word document in ASP.Net.
17 Jan 2019 17 Jan 2019 0 Comments  1414 Views
Here Mudassar Ahmed Khan has explained with an example, how to export (convert) Image to Word file in ASP.Net using C# and VB.Net.

First the Absolute URL of the Image file will be determined and then the Image element will be rendered as HTML and then the HTML will be written to the Response Stream and downloaded as Word file in ASP.Net.
25 Oct 2018 25 Oct 2018 0 Comments  2386 Views
ASP.Net  Excel  RDLC Report  MVC  Word  PDF
Here Mudassar Ahmed Khan has explained with an example, how to export RDLC Report and download in Word, Excel, PDF and Image file formats in ASP.Net MVC Razor.

Entity Framework will be used to populate RDLC Reports from SQL Server database in ASP.Net MVC 5 Razor.
Results 1 - 5 of 12