class= " lineNumbers " do
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
|
class= do
> notpretty " do class= " do id= " codeSnippet816740 do
<%
ajustar conn=Server.CreateObject (“ADODB.Connection”)
conexões. Provider= " Microsoft.Jet.OLEDB.4.0 "
conexão. Abrir (Server.Mappath (“/db/northwind.mdb”))
ajustar os rs = o Server.CreateObject (“ADODB.recordset”)
sql= " Companyname SELETO, Contactname dos clientes "
rs. Abrir sql, conexão
%>
border=
<%for cada x nos rs. Campos
response.write (“” & x.name & “ | ")
next%>
<%do até rs.EOF%>
<%for cada x nos rs. Fields%>
<%Response.Write (x.value) %> |
<%next
rs.MoveNext%>
<%loop
rs.close
conn.close
%>
|