Displaying a Table

On my projects, it's an extremely rare occasion when I can work on the machine where the project is actually being built. After all, this is the Internet; I don't even have to be in the same country! One problem that I am constantly faced with is a security setup that blocks access directly to the database. This is, of course, how it should be, but it's awfully inconvenient when I'm trying to see what's in my tables.

So what I've done is build a generic page that will read and display the contents of any table that I specify. That way, when I need to know what's in a table, I just call up the proper URL, which includes the table name.

To do this, we're going to take advantage of the structure of a RecordSet. Copy admintemplate.asp ...

Get Active Server Pages 3.0 from Scratch now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.