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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access