Posted By

LondonWeb on 08/20/08


Tagged

ASP access conn rs


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

benrudolph


ASP Results from DB


 / Published in: ASP
 

mostrar resultados - simplified version show results

  1. <%
  2. Set RS = Server.CreateObject("ADODB.Recordset")
  3.  
  4. Dim SQL
  5. SQL="SELECT * FROM Tabela "
  6.  
  7. RS.Open SQL, Connection
  8. %>
  9. <% While Not RS.EOF %>
  10. <div> <%=RS("c")%></div>
  11. <% RS.MOveNext
  12. Wend
  13. %>

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: Scooter on August 20, 2008

Missing the part where the connection is created.

You need to login to post a comment.