ASP连接Excel文件的不解?
flxs 2005-12-20 12:03:04 Set conn=Server.CreateObject("ADODB.Connection")
strSource="Driver={Microsoft Excel Driver (*.xls)};DBQ="&"F:\connection_web\book1.xls"
conn.open strSource
Set rs=Server.CreateObject("ADODB.RecordSet")
SQL="Select * from [sheet1$]"
rs.open SQL,conn,1,1
通过上诉代码,连接Excel表成功,但是,在访问时,记录集的第一个指针是从Excel表的第二行开始的,谁能告诉我是为什么?