oracle database connection - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

oracle database connection

fj8283888fj8283888 Posts: 37Member
Hi,

I try to catch the bugs with the database service is close
[code]
try
{
OleDbDataReader custReader = custCMD.ExecuteReader();
}
catch(System.Data.OleDb.OleDbException)
{

MessageBox.Show("656","Error on logining to database",MessageBoxButtons.OK, MessageBoxIcon.Error);
}
[/code]

however the program is stopped at OleDbDataReader test= test.ExecuteReader(); with green colour highlighted. The error message is following message" An unhandled exception of type 'System.Data.OleDb.OleDbException' occurred in system.data.dll"

Thanks
Sign In or Register to comment.