get recordset value outside the table

Discussion in 'ASP General' started by Hamster, Dec 26, 2003.

  1. Hamster

    Hamster Guest

    I need to display data like this:

    CompanyName1

    Company | Date| Transactions Count -- headers
    CompanyName1 | Date| 1 -- data
    CompanyName2 | Date| 5 -- data
    CompanyName3 | Date| 2 -- data
    CompanyName4 | Date| 7 -- data



    COMPANYNAME1 should be outside the table
    <table>
    <tr>
    <%
    For each fld in objRS.Fields
    Response.Write("<td>" & fld.Name & "</td>")
    Next
    objRS.MoveFirst
    %>
    </tr>
    <%
    Do until objRS.EOF
    %>
    <tr>
    <%
    For each fld in objRS.Fields
    Response.Write("<td>" & fld & "</td>")
    Next
    objRS.MoveNext
    %>
    </tr>
    </table>

    Help please!
    Hamster, Dec 26, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Rahul
    Replies:
    5
    Views:
    649
    Rahul
    Jul 23, 2009
  2. Hung Huynh
    Replies:
    8
    Views:
    301
    Bob Barrows
    Sep 24, 2003
  3. Hamster

    get recordset value outside the table

    Hamster, Dec 26, 2003, in forum: ASP General
    Replies:
    9
    Views:
    162
    Katya Kotova
    Dec 29, 2003
  4. avcitamer
    Replies:
    6
    Views:
    213
    Bob Barrows [MVP]
    Sep 18, 2008
  5. Krzysztof Poc

    outside type, outside function

    Krzysztof Poc, Feb 3, 2012, in forum: C++
    Replies:
    1
    Views:
    285
    Victor Bazarov
    Feb 7, 2012
Loading...

Share This Page