A Quick Way to Read Database Contents in ASP

If you develop a complex Web application, you may find it a daunting task to keep track of the vast quantities of data on multiple domains in databases that quickly change every day. To provide a quick, easy way to view a table’s contents during development, try this script on for size:

Place the script in an HTML page, and save it as TableMe.asp. Then, pass the table name you want to display in the URL, as in:

www.thesite.com/location/TableMe.asp?tbl=Authors

Notice how the ADO getString() function uses HTML table tags as delimiters and thus formats the entire data set in one big chunk.

Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Overview

Recent Articles: