ASP Results from DB


/ Published in: ASP
Save to your folder(s)

mostrar resultados - simplified version show results


Copy this code and paste it in your HTML
  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

You need to login to post a comment.