Column Name retrieval

Results 1 to 2 of 2

Thread: Column Name retrieval

  1. #1
    Jason Miller Guest

    Default Column Name retrieval

    Fairly simple question, I hope:<BR>I&#039ve got a database table filled with joined arrays which I intend to turn into HTML tables, one row at a time. Given that I can use "for i = 0 to 16 : rsMyNastyLookingData(i) etc", I&#039m wondering what the best way to get the database column names would be, as they should be attached to my HTML tables. Is there some sort of .name function I&#039m unaware of?<BR><BR>Thanks!

  2. #2
    Jason Buck Guest

    Default RE: Column Name retrieval

    for each whatever in rstemp.fields<BR> response.write "&#060;td&#062;&#060;B&#062;" & whatever.name & "&#060;/B&#062;&#060;/TD&#062;"<BR>next<BR><BR><BR>Active Server Pages .com provided me with this information.<BR>It is a great resource.<BR>This is the link to the page that shows you how to dynamically build a table <BR>http://www.learnasp.com/learn/dbsimple.asp<BR><BR>Best of Luck<BR>Jason<BR>webmaster@wnj.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •