Visualizzazione dei risultati da 1 a 8 su 8
  1. #1

    [Errore dalla soluzione impossibile?]

    Format of the initialization string does not conform to specification starting at index 0.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Source Error:

    Line 188: Dim RettaGiornaliera As String
    Line 189: Dim cnstring As String = "Provider=Microsoft.Jet.OLEDB.4.0; Ole DB Services=-4; Data Source=" & Server.MapPath("villa.mdb")
    Line 190: Dim ValoreConn As New OleDbConnection("cnstring")
    Line 191: Dim ValoreSql As String = "Select * from patologie where idretta=" & Idretta
    Line 192: Dim ValoreCmd As New OleDbCommand(ValoreSql, ValoreConn)




    Avete mai incontrato un problema come questo? Sinceramente ci sto diventando pazzo.. sembra essere tutto ok.. eppure nada.

  2. #2
    scusa ma
    Dim ValoreConn As New OleDbConnection("cnstring")


    non lo devi scrivere cosi:

    Dim ValoreConn As New OleDbConnection(cnstring)

  3. #3
    New Coglion of the Year

    Jc_

  4. #4
    ehehehehe

    vabbè dai capita

    eheheheheh

  5. #5
    Utente di HTML.it L'avatar di dwb
    Registrato dal
    Mar 2001
    residenza
    My IDE! :)
    Messaggi
    2,908





    Originariamente inviato da Jc_
    New Coglion of the Year

    Jc_
    ~Il nome di una variabile deve riflettere il suo scopo e non il suo tipo di dati, NET Framework.

  6. #6
    Utente di HTML.it
    Registrato dal
    Sep 2002
    Messaggi
    4,127
    Originariamente inviato da Jc_
    New Coglion of the Year

    Jc_
    ehi il mio premio

  7. #7

  8. #8
    Utente di HTML.it L'avatar di dwb
    Registrato dal
    Mar 2001
    residenza
    My IDE! :)
    Messaggi
    2,908


    Originariamente inviato da Jc_
    stardi
    ~Il nome di una variabile deve riflettere il suo scopo e non il suo tipo di dati, NET Framework.

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 © 2025 vBulletin Solutions, Inc. All rights reserved.