摘要: 添加ApplicationEvents控件,在 onException添加如下代码 if (E is EOleException) and ((E as EOleException).ErrorCode= -2147467259) and ADOConnection1.Connected then 阅读全文