Easy Tutorial
❮ Ado Ref Record Ado Command ❯

ADO Display


The most common method of displaying data from a recordset is to show it in an HTML table.


Display Field Names and Field Values

We have a database named "Northwind" and we want to display the data from the "Customers" table (remember to save this file with the .asp extension):

Example


Display Field Names and Field Values in an HTML Table

We can also display the data from the "Customers" table in an HTML table using the following code:

Example


Add a Title to the HTML Table

Add a title to the HTML table to make it more readable. (Keep the file extension as .html):

Example


More Examples

Add Colors to the HTML Table

❮ Ado Ref Record Ado Command ❯