因需要,用ASP编写了一个EXCEL上传程序,并且把上传的EXCEL数据导入到已经建好的ACCESS数据表中。

来源:百度知道 编辑:UC知道 时间:2024/06/27 07:04:09
哪位高手教我下 或者给我有说明的源码 满分885 分全给你
上传的可以 。但是文件名会是与日期有关系的数字,如果再做一个导入asp 这个文件名是个问题了,以为每次上传的文件名都会有变化的

最好是做好的站点 。rar文件, 我很小白的,2楼发的我学部会啊

upload.asp

<html>
<head>
<title>上传文件</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="css/css.css" rel="stylesheet" type="text/css" />
</head>
<script>
if (top.location==self.location)
{
top.location="index.asp"
}
</script>
<body leftmargin="0" topmargin="0">
<table width="100%" border=0 cellspacing=0 cellpadding=0>
<form name="form" method="post" action="readxls.asp" enctype="multipart/form-data">
<tr>
<td>
<input name="file1" type=file class=input-text size="30">
<input type=submit name="submit" value="导入数据" style="width:70px; height:19px;" >