class= " lineNumbers " del
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= del
> notpretty " del class= " del id= " codeSnippet816740 del
<%
regolare conn=Server.CreateObject (“ADODB.Connection„)
connett. Provider= " Microsoft.Jet.OLEDB.4.0 "
connett. Aprir (Server.Mappath (“/db/northwind.mdb„))
regolare i rs = Server.CreateObject (“ADODB.recordset„)
sql= " Companyname PRESCELTO, Contactname dai clienti "
rs. Aprire lo sql, connett.
%>
border=
<%for ogni x nei rs. Campi
response.write (“„ & x.name & “ | ")
next%>
<%do fino a rs.EOF%>
<%for ogni x nei rs. Fields%>
<%Response.Write (x.value) %> |
<%next
rs.MoveNext%>
<%loop
rs.close
conn.close
%>
|