Category - HTML
Results 81 - 100 of 252
14 May 2019 14 May 2019 0 Comments  22472 Views
Here Mudassar Ahmed Khan has explained with an example, how to redirect (go) back to Previous Page without Refresh using JavaScript.

It is NOT possible to redirect (go) back to Previous Page without refreshing as whenever Page is redirected there will always be a Page reload in browser i.e. old page will be removed and the new Page from Browser History will be loaded in Browser.
14 May 2019 14 May 2019 0 Comments  13617 Views
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) Parameters using HyperLink in HTML.

The HTML HyperLink will be assigned an OnClick event handler and when clicked, the value of the TextBox will be set in the HREF attribute of the HTML HyperLink using JavaScript.

When the HTML Anchor Link is clicked, the TextBox value will be passed to the other Page as QueryString parameter using JavaScript.
14 May 2019 14 May 2019 0 Comments  5457 Views
Here Mudassar Ahmed Khan has explained with an example, how to redirect to Previous Page using JavaScript.

The HTML Anchor Link will be assigned an OnClick event handler and when clicked, it will be redirected to the Previous Page using history.back function in JavaScript.
14 May 2019 14 May 2019 0 Comments  40104 Views
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) TextBox value in HREF of Anchor Link in HTML.

The HTML Anchor Link will be assigned an OnClick event handler and when clicked, the value of the TextBox will be set in the HREF attribute of the HTML Anchor Link using JavaScript.

When the HTML Anchor Link is clicked, the TextBox value will be passed to the other Page as QueryString parameter.
10 May 2019 10 May 2019 0 Comments  14680 Views
Here Mudassar Ahmed Khan has explained with an example, how to convert HTML 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.
10 May 2019 10 May 2019 0 Comments  19928 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  38855 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  9921 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  7783 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  11359 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.
26 Apr 2019 26 Apr 2019 0 Comments  20492 Views
Here Mudassar Ahmed Khan has explained with an example, how to create HTML Table 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) in Windows Forms (WinForms) Application using C# and VB.Net.
26 Apr 2019 26 Apr 2019 0 Comments  11097 Views
Here Mudassar Ahmed Khan has explained with an example, how to export DataGridView to HTML 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) in Windows Forms (WinForms) Application using C# and VB.Net.
23 Apr 2019 23 Apr 2019 0 Comments  33923 Views
Here Mudassar Ahmed Khan has explained with an example, how to bind data from Database in HTML Table in ASP.Net using C# and VB.Net.

The data from the SQL Server database will be fetched into a DataTable. Then a loop will be executed over the DataTable rows and an HTML Table string is generated and displayed using Literal control in ASP.Net using C# and VB.Net.
23 Apr 2019 23 Apr 2019 0 Comments  20015 Views
Here Mudassar Ahmed Khan has explained with an example, how to convert HTML Table to JSON in ASP.Net using C# and VB.Net.

HTML Table cannot be directly accessed in the ASP.Net Code Behind (Server Side) and hence the values of HTML Table will be converted to JSON format using JavaScript and then sent to ASP.Net Code Behind (Server Side) using C# and VB.Net.
18 Apr 2019 19 Apr 2019 1 Comments  15563 Views
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) Array from Controller to View using ViewBag in ASP.Net MVC Razor.

The List Collection will be populated from Database using ADO.Net inside the Controller and it will be converted to Array and passed to the View using ViewBag.

Later in View, the Array will be iterated and the data will be displayed with the help of HTML Table in ASP.Net MVC Razor.
18 Apr 2019 19 Apr 2019 0 Comments  30886 Views
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) List from Controller to View using ViewBag in ASP.Net MVC Razor.

The List Collection will be populated from Database using ADO.Net inside the Controller and it will be passed to the View using ViewBag.

Later in View, the List Collection will be iterated and the data will be displayed with the help of HTML Table in ASP.Net MVC Razor.
18 Apr 2019 19 Apr 2019 0 Comments  20022 Views
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) DataTable from Controller to View in ASP.Net MVC Razor.

The DataTable will be populated from Database using ADO.Net inside the Controller and it will be passed to the View as Model.

Later in View, the DataTable will be iterated and the data will be displayed with the help of HTML Table in ASP.Net MVC Razor.
17 Apr 2019 17 Apr 2019 1 Comments  29662 Views
Here Mudassar Ahmed Khan has explained with an example, how to convert HTML Table to DataTable in ASP.Net using C# and VB.Net.

HTML Table cannot be directly converted to DataTable and hence the values of HTML Table will be converted to JSON format and then using JSON.Net library, the JSON string will be converted to DataTable in ASP.Net using C# and VB.Net.
17 Apr 2019 17 Apr 2019 1 Comments  24723 Views
Here Mudassar Ahmed Khan has explained with an example, how to access HTML Table values in Code Behind in ASP.Net using C# and VB.Net.

HTML Table cannot be directly accessed in the ASP.Net Code Behind (Server Side) and hence the values of HTML Table will be sent in JSON format to ASP.Net Code Behind (Server Side) using C# and VB.Net.
04 Apr 2019 04 Apr 2019 0 Comments  15522 Views
Here Mudassar Ahmed Khan has explained with an example, how to display HTML Formatted Text using Literal control in ASP.Net using C# and VB.Net.

This article will illustrate how to first generate a dynamic HTML Formatted Text String using StringBuilder class and then assign the HTML String to a Literal control and display it on Web Page in ASP.Net using C# and VB.Net.
Results 81 - 100 of 252