A little help with getrows()

Discussion in 'ASP General' started by j1c, Nov 16, 2004.

  1. j1c

    j1c Guest

    I'm using getrows to return the values from two columns in a MSSQL sql
    database. Looping through them like so:
    dim irowloop, icolloop, i
    for irowloop = 0 to ubound(instances, 2)
    for icolloop = 0 to ubound(instances, 1)
    response.write("<option value=""VAL"">") 'get 2nd col val
    response.write(i(icolloop, irowloop))
    response.write("</option>")
    next
    next

    How can I get the value of the second column into the VALUE=""
    attribute in the drop down?
     
    j1c, Nov 16, 2004
    #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. Croney69

    Using GetRows()

    Croney69, Jul 28, 2003, in forum: ASP General
    Replies:
    5
    Views:
    188
    Bob Barrows
    Jul 28, 2003
  2. Moshe

    GetRows Mystery

    Moshe, Aug 28, 2003, in forum: ASP General
    Replies:
    8
    Views:
    169
    Bob Barrows
    Aug 28, 2003
  3. Crane Linkledder

    Difference between getrows and getstring

    Crane Linkledder, Oct 29, 2003, in forum: ASP General
    Replies:
    11
    Views:
    288
    Aaron Bertrand - MVP
    Oct 30, 2003
  4. Jim

    GetRows Random <td></td> Output

    Jim, Nov 21, 2003, in forum: ASP General
    Replies:
    1
    Views:
    130
    Jeff Clark
    Nov 22, 2003
  5. j1c

    A little help with getrows()

    j1c, Nov 16, 2004, in forum: ASP General
    Replies:
    4
    Views:
    133
Loading...

Share This Page