News
dal mondo della moda
<% Set conn = Server.CreateObject("ADODB.Connection")
connStr = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("_data/voguedb1.mdb")&";usr=pw="
Conn.Open connStr
if request.QueryString()="" then
%>
<%SQL=("Select * from News order By Ordine,id")
set rs=conn.execute(SQL)
do while not rs.eof
link="News.asp?ID="&RS("ID")%>
<%=rs("titolo")%>
<%=rs("intro")%> [leggi]
<%rs.movenext
loop%>
<%else
SQL=("Select * from News where ID="&request.Querystring("ID"))
set rs=conn.execute(SQL)%>