Asp to HTML table

Results 1 to 2 of 2

Thread: Asp to HTML table

  1. #1
    Join Date
    Dec 1969

    Default Asp to HTML table

    I am trying to get my recordset to display in the html table gride of 4 columns across and three rows down. I&#039m not sure if this is possible or not. I already have it displayed, but only in rows that go down the page. See my example of what I have.<BR>I have three fields, one has the image, the text describing the image, and a link to shopping cart. Any help is appreciated.<BR>Thanks

  2. #2
    Steve Adamo Guest

    Default RE: Asp to HTML table

    I am not sure how you are populating the table now, but the way i would approach it is this:<BR><BR>Assuming you are pulling from a table called "baseball", with fields named:<BR><BR>1)picture<BR>2)description<BR>3)link <BR><BR><BR>selectContentText = "select * from baseball"<BR>set selectContent = servername.Execute(selectContentText)<BR><BR>now you can populate individual cells in the table with individual components,..<BR><BR>cell one could contain:<BR>selectContent.Fields("picture")<BR><BR >cell two:<BR>selectContent.Fields("description")<BR><BR >cell two:<BR>selectContent.Fields("link")<BR><BR><BR>le t me know if this makes any sense to you, or if i have butcherd my own logic trying to relate it here,... :)<BR><BR>Steve<BR><BR>

Posting Permissions

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