$conn = ObjCreate("ADODB.Connection");;; Connection 对象代表打开的、与数据源的连接。 $connstr = 'Driver={Microsoft Excel Driver (*.xls)};DBQ=' & 'My.xls' $conn.open($connstr);;;使用 Open 方法建立到数据源的物理连接 $sql = "select * from [class$]" $rs = $conn.execute($sql)
举报
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度
GMT+8, 2025-1-10 19:40 , Processed in 0.092153 second(s), 21 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2024 Discuz! Team.