连接实例已经学会啦,但app启动后只能等待超时来判断是否连接到mssql,可如果sql语句执行后为空记录的话也只能等连接超时才能知道,我不知道如何做这两项判断,麻烦知道的给我写下实例好吗?
http://blog.sina.com.cn/s/blog_60b5e13e0101mlot.html
http://www.2cto.com/database/201411/351804.html