Pagina 2 di 3 primaprima 1 2 3 ultimoultimo
Visualizzazione dei risultati da 11 a 20 su 24

Discussione: Errore

  1. #11
    Utente di HTML.it
    Registrato dal
    May 2004
    Messaggi
    331
    Microsoft JET Database Engine error '80040e10'

    Nessun valore specificato per alcuni parametri necessari.

    che errore è???

  2. #12
    Moderatore di ASP e MS Server L'avatar di Roby_72
    Registrato dal
    Aug 2001
    Messaggi
    19,559
    Posta la query che hai usato.
    Se necessario fanne un response.write prima di eseguirla così comprendi l'errore.

    Roby

  3. #13
    Utente di HTML.it
    Registrato dal
    May 2004
    Messaggi
    331
    categoria = request.QueryString("categoria")
    sql = "SELECT * FROM prodotti WHERE Categoria='"+categoria+"' ORDER BY posizione"
    set rs = ConnLogin.execute(sql)


    dove devo fare il response.write?

  4. #14
    Moderatore di ASP e MS Server L'avatar di Roby_72
    Registrato dal
    Aug 2001
    Messaggi
    19,559
    codice:
    categoria = request.QueryString("categoria") 
    sql = "SELECT * FROM prodotti WHERE Categoria='"+categoria+"' ORDER BY posizione" 
    response.write sql:response.end
    set rs = ConnLogin.execute(sql)

    Roby

  5. #15
    Utente di HTML.it
    Registrato dal
    May 2004
    Messaggi
    331
    SELECT * FROM prodotti WHERE categoria='cessi' ORDER BY posizione

    scrive questo...
    ora?

  6. #16
    Moderatore di ASP e MS Server L'avatar di Roby_72
    Registrato dal
    Aug 2001
    Messaggi
    19,559
    Non noti nulla di strano? I campi sei sicuro siano corretti???

    Roby

  7. #17
    Utente di HTML.it
    Registrato dal
    May 2004
    Messaggi
    331
    nulla di strano cosa potrei avere sbagliato...

  8. #18
    Moderatore di ASP e MS Server L'avatar di Roby_72
    Registrato dal
    Aug 2001
    Messaggi
    19,559
    Posta tutta la pagina e la riga dell'errore, indicandola.

    roby

  9. #19
    Utente di HTML.it
    Registrato dal
    May 2004
    Messaggi
    331

    <%
    categoria = request.QueryString("categoria")
    sql = "SELECT * FROM Prodotti WHERE categoria='"+categoria+"' ORDER BY posizione"
    response.write sql:response.end
    set rs = ConnLogin.execute(sql)

    id = rs("ID")
    nome = rs("NomeProdotto")
    prezzo = rs("Prezzo")
    foto = rs("Foto")
    link = rs("LinkProduttore")
    marca = rs("Marca")

    if not rsProdotti.eof then
    while not rsProdotti.eof

    %>
    <center><h2><%=categoria%></h2></center>
    <table width="100%" border="0">
    <tr>
    <td width="17%" rowspan="5">[img]<%=foto%>[/img]</td>
    <td width="83%"><%=nome%></td>
    </tr>
    <tr>
    <td><%=marca%></td>
    </tr>
    <tr>
    <td><div align="right"><%=prezzo%></div></td>
    </tr>
    <tr>
    <td><div align="center">Vedi dettagli</div></td>
    </tr>
    </table>
    <%
    rsProdotti.MoveNext
    wend
    else
    end if
    %>
    <h2>Nessun Prodotto Presente</h2>




    ci saranno migliaia di errori scusatemi ma è il mio primo script
    grazie 1000 per l'aiuto...

  10. #20
    Moderatore di ASP e MS Server L'avatar di Roby_72
    Registrato dal
    Aug 2001
    Messaggi
    19,559
    codice:
     
    <% 
    categoria = request.QueryString("categoria") 
    sql = "SELECT * FROM Prodotti WHERE categoria='"+categoria+"' ORDER BY posizione" 
    response.write sql:response.end 
    set rs = ConnLogin.execute(sql) 
    if not rs.eof then 
    while not rs.eof 
    id = rs("ID") 
    nome = rs("NomeProdotto") 
    prezzo = rs("Prezzo") 
    foto = rs("Foto") 
    link = rs("LinkProduttore") 
    marca = rs("Marca") 
    %> 
    <center><h2><%=categoria%></h2></center> 
    <table width="100%" border="0"> 
    <tr> 
    <td width="17%" rowspan="5">[img]<%=foto%>[/img]</td> 
    <td width="83%"><%=nome%></td> 
    </tr> 
    <tr> 
    <td><%=marca%></td> 
    </tr> 
    <tr> 
    <td><div align="right"><%=prezzo%></div></td> 
    </tr> 
    <tr> 
    <td><div align="center">Vedi dettagli</div></td> 
    </tr> 
    </table> 
    <% 
    rs.MoveNext 
    Wend
    else 
    end if 
    
    rs.Close
    set rs=nothing
    %> 
    <h2>Nessun Prodotto Presente</h2>
    Ora vado, ciao...

    Roby

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.