Category - HTML
Results 21 - 25 of 184
10 May 2019 10 May 2019 0 Comments  3280 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.
09 May 2019 09 May 2019 0 Comments  15352 Views
Here Mudassar Ahmed Khan has explained with an example, how to create HTML File programmatically using C# and VB.Net.

First a Windows Form DataGridView will be populated with some data using DataTable and then an HTML Table will be generated using the values from the DataGridView.

Finally, the HTML Table in HTML string format will be saved to a Folder (Directory) as HTML File in Windows Forms (WinForms) Application using C# and VB.Net.
03 May 2019 03 May 2019 0 Comments  940 Views
Here Mudassar Ahmed Khan has explained with an example, how to redirect from one Page to another on Button Click in HTML.

HTML Button cannot perform redirect similar to a HyperLink and hence using JavaScript a Click event handler is attached to the Button and then using JavaScript window.location property Page will be redirected to another Page.
26 Apr 2019 26 Apr 2019 0 Comments  1871 Views
Here Mudassar Ahmed Khan has explained with an example, how to export DataTable to HTML Table in Windows Application using C# and VB.Net.

First a DataGridView will be populated using DataTable and then an HTML Table will be generated using the values from the DataGridView.

Finally, the HTML Table string generated from DataTable will be saved to a Folder (Directory) as HTML File in Windows Forms (WinForms) Application using C# and VB.Net.
26 Apr 2019 26 Apr 2019 0 Comments  1961 Views
Here Mudassar Ahmed Khan has explained with an example, how to create HTML File 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.

Finally, the HTML Table string will be saved to a Folder (Directory) as HTML File in Windows Forms (WinForms) Application using C# and VB.Net.
Results 21 - 25 of 184