下面是一段簡單的由asp導入excel數據保存到其它的數據如有mssql access mysql 等哦
<!
<%
Set xlsconn = server
set rs=server
source
myConn_Xsl="Provider=Microsoft
xlsconn
sql="select * from [商品列表$]"
set rs=xlsconn
if not rs
while not rs
names=rs("商品名")
pic=rs("圖片")
sql="insert into [product](namese
conn
rs
wend
end if
response
end if
%>
數據連接文件<!
set rs=server
db="
set conn=server
connstr="Provider=Microsoft
conn
From:http://tw.wingwit.com/Article/program/net/201311/14100.html