Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Data binding in Classic ASP

Data binding in Classic ASP

Scheduled Pinned Locked Moved ASP.NET
wpfwcfhelpquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O Offline
    O Offline
    ONeil Tomlinson
    wrote on last edited by
    #1

    Is it possible to do data data binding in Classic ASP. If so, are there any good examples on the web or any on the tip of your brains? Any help is more than welcome Thanks

    B 1 Reply Last reply
    0
    • O ONeil Tomlinson

      Is it possible to do data data binding in Classic ASP. If so, are there any good examples on the web or any on the tip of your brains? Any help is more than welcome Thanks

      B Offline
      B Offline
      butchzn
      wrote on last edited by
      #2

      Hi, This is the way i usually bind data to asp controls <% 'get friends getFriendsSQL = "SELECT [ID], [Name] FROM Friends ORDER BY [Name] ASC" set friendsRS = searchConn.execute(getFriendsSQL) if not friendsRS.eof then friendsCheck = friendsRS.getRows friendsCount = ubound(friendsCheck,2) end if %> <select name="friendSelect"> <option value="0">- -<i>Select Friend</i>- -</option> <% if isArray(friendsCheck) then for u = 0 to friendsCount %> <option value="<%= friendsCheck(0, u) %>"><%= friendsCheck(1, u) %></option> <% next end if %> </select> Hope this helps.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups