Ciao ho un problema di questo tipo:
devo generare un file xml per farlo leggere da flash
ma flash non mi da risposta....

ho provato a fargli leggere un xml normale è ok.. ma con il file asp nienteeeeeeeeeeeee

mi potete aiutare??.. posto il file


  • <%
    RecordsXPagina=12
    If Request.QueryString("pagina") = "" Then
    pagina = 1
    Else
    pagina = CInt(Request.QueryString("pagina"))
    End If

    ' IMPOSTO UN CONTATORE
    contatore = 0

    set rs = server.createobject("ADODB.Recordset")
    sql = "SELECT * FROM tabella_link ORDER BY idlink ASC"
    rs.open sql,conn,3,3
    if not rs.eof then
    rs.PageSize = RecordsXPagina
    rs.AbsolutePage = pagina
    c=0

    for i=1 to RecordsXPagina
    if not rs.eof then

    Response.write "<link id="""&rs("idlink")&"""/><titolo>"&rs("titolo")&"</titolo><immagine>"&rs("immagine")&"</immagine>"


    rs.movenext
    ' INCREMENTO IL VALORE DEL CONTATORE
    contatore = contatore + 1
    end if
    next

    rs.close
    set rs = nothing
    conn.close
    set conn = nothing
    end if


    %>



Grazie