⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 word11.asp

📁 办公软件之间的数据交换,可以把WORD文件和EXCEL文件中的数据添加到WEB服务器,也可以从WEB服务器中下载数据到本地电脑.
💻 ASP
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
</head>

<body>
<div id="Layer1" style="position:absolute; left:434px; top:269px; width:532px; height:42px; z-index:1"><a href="index.asp">返回主页</a> <a href="inputexcel_index.asp">进行导入excel操作</a> <a href="outputexcel_index.asp">进行导出excel操作</a> <a href="outputword_index.asp">进行导出word操作</a></div>
<br>
<br>
下面这些数据被上传到数据库的student_info中<br>

<%  


filepath="up\updown\11.doc"
'response.write filepath

   	
   Dim fso,fso1, MyFile,myfile1
   Set fso = CreateObject("Scripting.FileSystemObject")
   
  Set MyFile = fso.openTextFile(server.MapPath(filepath), 1,false)
  while not myfile.atendofstream
       
          aa=myfile.readline  
         response.write aa
        ' mystring=REPLACE(aa," ","1")
         ystring=REPLACE(aa,"1","3")
         response.write "<br>"
          response.write ystring
          
  wend
    

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -