By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,054 Members | 1,327 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,054 IT Pros & Developers. It's quick & easy.


P: 1
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 Images
File Type: jpg j.jpg (65.1 KB, 126 views)
Mar 28 '12 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 10K+
P: 12,408
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.
Mar 28 '12 #2

Post your reply

Sign in to post your reply or Sign up for a free account.