Each time
Catch (Exception EE)
{
Mesagebox.show (Ee.Message);
}
I read a book last night and found that there were many Exception in the FCL, and more information can be provided. I found OLEDBEXCEPTION today, Ba Shi!
Catch (System.Data.Oledb.oledbexception EE)
{
For (int J = 0; j
{
Messagebox.show ("INDEX #" J "/ N"
"Message:" EE.Errors [J] .Message "/ N"
"Native:" EE.Errors [J] TOSTRING () "/ n"
"Source:" EE.Errors [J]. Source "/ N"
"SQL:" EE.ErrorS [J] .sqlState "/ N");
}
}