我用 ado 连接excel 如何判断excel文件有空行 (50分)

  • 主题发起人 brucedai
  • 开始时间
B

brucedai

Unregistered / Unconfirmed
GUEST, unregistred user!
我用 ado 连接excel, 如何判断excel文件有空行
(如果我在excel中用del键删除了一行,那么ado 会把这一行也读进去,而我并不需要这
一行),请问怎么办
 
我知道了 用sql 语句过滤掉就可以了
select * from [Sheet1$] where 名称 is not null
 
顶部