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

odbc

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, 125 views)
Mar 28 '12 #1
Share this Question
Share on Google+
1 Reply


Rabbit
Expert Mod 10K+
P: 12,347
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.