<% Set conexao = Server.CreateObject("ADODB.Connection") conexao.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source="& Server.Mappath("../parnanet.mdb") &";" %> Dia Global do Voluntariado Jovem
 

Dia Global do Voluntariado Jovem

OBRIGADO
<%idf=request("id") if idf<>"" then %>
<% Set rsnot = Server.CreateObject("ADODB.Recordset") rsnot.Open "SELECT * FROM noticias where id="&idf, conexao%><%=rsnot.fields("chamada")%>  <%=rsnot.fields("data")%>
<%=rsnot.fields("noticia")%>
<% rsnot.close set rsnot=nothing end if %>





<%Set rs = Server.CreateObject("ADODB.Recordset") rs.Open "SELECT * FROM noticias ORDER by id DESC", conexao num=0 do while not rs.eof and num<7 num=num+1 %>
 
 <%=rs(2)%>
<%rs.movenext loop rs.close set rs=nothing %>
 
<%conexao.close set conexao=nothing%>