Populating/ Creating Dynamic table Left to right with only 3 rows

Author Message
jschoice2002

  • Total Posts : 2
  • Scores: 0
  • Reward points : 0
  • Joined: 6/10/2010
  • Status: offline
Populating/ Creating Dynamic table Left to right with only 3 rows Thursday, June 10, 2010 9:46 PM (permalink)
0
Can someone please help,
 
I am trying to make a dynamic table populated with records from a access database. I want the table filled from left to right, and with record4 starting a new row.
 
But i only get this far.
 
Dim RsQmenu
 Set RsQmenu = Server.CreateObject("ADODB.Recordset")
 RsQmenu.ActiveConnection = MM_connCMS_STRING
 RsQmenu.Source = "SELECT * FROM subs WHERE QuickMenu = 'Y' order by subItemno"
 RsQmenu.Open()
 QuickHead=     (RsQmenu.Fields.Item("subItemHead").Value)
%>
</head>
<body>
<%
Response.Write("<table width=100% border=0 cellspacing=10 class=bottomlinks>")
Do until RsQmenu.EOF
Response.Write("<tr>")
Response.Write("<td align=left valign=top>"&QuickHead&"</td>")
Response.Write("<td align=left valign=top>"&QuickHead&"</td>")
Response.Write("<td align=left valign=top>"&QuickHead&" </td>")
Response.Write("</tr>")
RsQmenu.Movenext()
Loop
Response.Write("</table>")
%>
 
Thanks in advance...
Jaco
 
#1

    Online Bookmarks Sharing: Share/Bookmark

    Jump to:

    Current active users

    There are 0 members and 1 guests.

    Icon Legend and Permission

    • New Messages
    • No New Messages
    • Hot Topic w/ New Messages
    • Hot Topic w/o New Messages
    • Locked w/ New Messages
    • Locked w/o New Messages
    • Read Message
    • Post New Thread
    • Reply to message
    • Post New Poll
    • Submit Vote
    • Post reward post
    • Delete my own posts
    • Delete my own threads
    • Rate post

    2000-2012 ASPPlayground.NET Forum Version 3.9