Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Display all from an SQL query

Status
Not open for further replies.

davejam

Technical User
Joined
Jan 6, 2004
Messages
313
Location
GB
A little simple one, can't remember the syntax to display on the screen all the results from an sql statement.

response.write recordset.*

Obviously this doesn't work but its what i mean!

Help!!

Cheers

DaveJam
**Getting the right answers is the easy part, matching it to the question is the problem!**
 
How about something like this:

For Each objFld In objRS.Fields
Response.Write objFld.Name & ": "
Response.Write objFld.Value & &quot;<br>&quot;
Next


Best regards,
J. Paul Schmidt, Freelance ASP Web Developer
ASP Design Tips, ASP Web Database Demo, Free ASP Bar Chart Tool...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top