Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2003
    Posts
    114

    Unanswered: Filling a select box ...

    ...on an asp page with data from a sql server db. Can anyone give me a thumbnail as to how to do that?

    I can collect the field data but I want to fill the select drop-down on page load.

    Thanks!!

  2. #2
    Join Date
    Jan 2003
    Location
    Duncan BC Canada
    Posts
    80
    Start an HTML FORM. Build an OPTION item for each row in the recordset. Iterate through the recordset, adding additional OPTION items for each row. Then at .EOF, close the connection and finish off the FORM.
    Bradley

  3. #3
    Join Date
    Apr 2003
    Posts
    114

    Thanks!

    That was what I needed!

Posting Permissions

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