odbc

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • valentidut
    New Member
    • Mar 2012
    • 1

    odbc

    i made a program which connect to a database by odbc and i made it with Visual Studio 2005. i found no error but when i run the program and click program' save button i found this:

    Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.
    Prepare: Connection property has not been initialized.

    I don't know which error i should fix and where. Could anyone here help me? Thanks.
    Attached Files
  • Rabbit
    Recognized Expert MVP
    • Jan 2007
    • 12517

    #2
    Well, the error says you didn't initialize your connection property. So that's the error you have to fix. As for where, it would be wherever you attempt to establish connection to the database.

    Comment

    Working...