You can use GetString() method of ADODB.Recordset object if you want to dumpthe complete table in an active server page. GetString() method returns thecomplete recordset as a string. You can specify the number of rows in therecordset to return. All rows will be returned if this parameter is notspecified, or if it is greater than the number of rows in the recordset. Youcan also specify the delimiters to use between various columns and the rows.You can use this method to build an HTML table in an asp page. To build anHTML table using this method you need to specify the combination of “
Here is the sample VBScript code from an active server page which can beused to build an HTML table.
<% Dim oConnection ' Connection Object Dim oRecordset ' Recordset Object ' Create connection and recordset object Set oConnection = Server.CreateObject("ADODB.Connection") Set oRecordset = Server.CreateObject("ADODB.Recordset") ' Open the connection object oConnection.Open "DSN=Sample","sa","" ' Open the recordset object oRecordset.Open "MyTable", oConnection,,,adCmdTable ' Write the complete table using GetString() method Response.Write "" Response.Write oRecordset.GetString(,," ", " ") Response.Write "
"%>
Charlie has over a decade of experience in website administration and technology management. As the site admin, he oversees all technical aspects of running a high-traffic online platform, ensuring optimal performance, security, and user experience.
Related Posts
About Our Editorial Process
At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.
See our full editorial policy.

What Is AI-Assisted Vulnerability Research? Chrome 158’s Claude-Found Bugs Explained

The Cheapest Ways to Run an AI Agent 24/7 in 2027 (Ranked)

What Is Java4Shell? The Critical OpenJDK Base64 Vulnerability Explained

What Is the Agent-Framework PyPI Attack? Microsoft’s Credential Stealer Explained

One Design System for the Product and the Marketing Site, or Two?

What Is NGINX2Root? The Critical NGINX RCE Vulnerabilities Explained

How Fintech Is Transforming the Way Consumers Manage Monthly Bills

What Is .NET 11? C# 15 Union Types and AI Tooling Explained

How the Modern Online Video Editor Is Reshaping Business Productivity and Marketing

Just-in-Time Privileged Access Should Be Scoped to Tasks, Not People

What Is Windows 11’s Coding Agent Telemetry? Privacy Risk Explained

What Is the cPGuard Supply Chain Attack? OpsShield’s Backdoor Explained

What Is wfx-loot? The GitHub Actions Secret Stealer Attack Explained

What Is Gemini 4 Hydrogen? Google’s Fast, Low-Cost Coding Model Explained

What Is GPT-6 Cyber? OpenAI’s New Cybersecurity AI Model Explained

What Is Microsoft’s November 2026 Patch Tuesday? Outlook Zero-Day Explained

What Is Claude Fable 5.2? Anthropic’s New Flagship Model Explained

What Is DeepSeek Super-Agent? DeepSeek’s Open Source Coding Agent Explained

What Is the Meta Conductor Acquisition? AI Coding Agents Explained

Exploring How Service Robots Navigate Everyday Unpredictability with LiDAR

What Is the Cloudflare Deno Acquisition? Explained

What Is FlashProve? Anthropic’s New Way to Verify AI Model Identity

What Is Recursive Self-Improvement in AI? Anthropic’s Warning Explained

Domestic Intelligence: What Lütke, Musk And Panin Know That You Don’t?
