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

📄 getexecl.jsp

📁 客户管理系统是一个典型的数据库开发应用程序
💻 JSP
字号:
<%@ page contentType="text/html; charset=gb2312"%>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>调用Excel</title>
<style type="text/css">
<!--
body {
	background-color: #000000;
	margin-left: 0px;
	margin-top: 0px;
}
td{
font-size:9pt;
}
.style1 {font-size: 11pt}
-->
</style></head>
<script language="javascript">
var wrd=new ActiveXObject("Excel.Application");
wrd.visible=true;
alert("您的"+wrd.Application.Caption+"安装路径为:\n"+wrd.Application.Path+"\n 版本号是:"+wrd.Application.version+"\n注册使用着是:"+wrd.Application.UserName);
wrd=null;
</script>
<body>
<table width="579"  border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF"> 
  <tr> 
    <td>&nbsp;</td> 
  </tr> 
</table> 
<table width="579" border="0" cellpadding="0" cellspacing="0"> 
  <tr> 
    <td align="left" valign="top" bgcolor="#FFFFFF"> <table width="579" height="487"  border="0" cellpadding="0" cellspacing="0"> 
        <tr> 
          <td align="left" valign="top" bgcolor="#FFFFFF"><table width="579" border="0" cellpadding="0" cellspacing="0"> 
              <tr> 
                <td width="2%" height="28">&nbsp;</td> 
                <td width="9%" background="../../../images/circle.jpg">&nbsp;</td> 
                <td width="89%" bgcolor="#FFFFFF"><span class="style1">调用Excel</span></td> 
              </tr> 
              <tr style="line-height:2px"> 
                <td width="2%" height="5">&nbsp;</td> 
                <td height="5" colspan="2" bgcolor="#D4D0C8">&nbsp;</td> 
              </tr> 
              <tr align="center" valign="top" bgcolor="#FFFFFF"> 
                <td height="454" colspan="3"><p>&nbsp;</p>
                  <table width="112" height="38" align="center" background="../../../images/bar1.jpg" border="0" cellspacing="0" cellpadding="0">
                 
                 
                </table>
                  <p>&nbsp;</p>                  
                  <p>&nbsp;</p></td> 
        </tr> 
      </table></td> 
  </tr> 
</table>
</body>
</html>

⌨️ 快捷键说明

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