Foxtable是断开运行,除了保存和执行SQL命令,其余都不会连接服务器。所以你需要主动判断:try 执行一个SQLCommandCatch ex As Exception Messagebox.show("断了") ReturnEnd TryMessgebox.show("好好的")