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
el <%
fijar conn=Server.CreateObject (“ADODB.Connection”)
conec. Provider= " Microsoft.Jet.OLEDB.4.0 "
conec. Abrirse (Server.Mappath (“/db/northwind.mdb”))
fijar los rs = Server.CreateObject (“ADODB.recordset”)
sql= " Companyname SELECTO, Contactname de clientes "
rs. Abrir sql, conec
%>
border=
<%for cada x en rs. Campos
response.write (“” y x.name y “ | ")
next%>
<%do hasta rs.EOF%>
<%for cada x en rs. Fields%>
<%Response.Write (x.value) %> |
<%next
rs.MoveNext%>
<%loop
rs.close
conn.close
%>
|