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

📄 chaxun1.asp

📁 数据结构课程设计之最小生成数的K算法的实现 简短 简洁
💻 ASP
字号:
<%
if request.form("zzbm")="" then 
bm=request("bm")
else bm=request.form("zzbm")
end if
Set conn = Server.CreateObject("ADODB.Connection")
conn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("KYDB.mdb")
sql="select * from ZZXX Where ZZXX_ZZBM='"& bm &"'"
set rs=server.Createobject("ADODB.Recordset")
rs.open sql,conn,1,1
if rs.eof then
%>
<script language=javascript>
alert("查无此著作信息!");
</script>
<%else
zzbm=rs("ZZXX_ZZBM")
		dwdm=rs("ZZXX_DWDM")
		dwdm2=dwdm
		zzmc=rs("ZZXX_ZZMC")
		zzlb=rs("ZZXX_ZZLB")
		zzlb2=zzlb
		cbs=rs("ZZXX_CBS")
		cbsj=rs("ZZXX_CBSJ")
		sh=rs("ZZXX_SH")
		xklb=rs("ZZXX_XKML")
		xklb2=xklb
		hjqk=rs("ZZXX_HJQK")
		hjqk2=hjqk
		cbsdj=rs("ZZXX_ZZDJ")
		cbsdj2=cbsdj
		zzs=rs("ZZXX_ZZS")
		jbnr=rs("ZZXX_JBNR")
		shbz=rs("ZZXX_SHBZ")
		shbz2=shbz
%>
<%end if%>

<head>

<link rel="stylesheet" type="text/css" href="../style.css"> 
</head>

<body topmargin="0" leftmargin="0" bgcolor="#dddddd">

  <table width="100%" height="164" border="0" cellpadding="0" cellspacing="0" bordercolor="#D6CFCE" background=>
  <form name="form1"  id="form1"  action="" method="post">
  
  <tr> 
    <td height="28"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td><div align="center"><strong>著作基本信息表</strong></div></td>
        </tr>
      </table></td>
  </tr>
  <tr> 
    <td height="134"> <div align="right"> 
        <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0"> 
            <td width="15%"><div align="left">著作编码:</div></td>
            <td colspan="3"> 
                        
              <input name="zzbm" type=text id="ktbh2" style="BORDER-RIGHT: #ffffff 1px groove; BORDER-TOP: #ffffff 1px groove; FONT: 12px Verdana,Geneva,sans-serif; BORDER-LEFT: #ffffff 1px groove; WIDTH: 160px; COLOR: #000000; BORDER-BOTTOM: #ffffff 1px groove; HEIGHT: 18px; BACKGROUND-COLOR: #C0C0C0" value="<%=bm%>" size=20 maxlength=20> 
                 </td>
          </tr>
          <tr> 
            <td>&nbsp;</td>
            <td colspan="3">&nbsp;</td>
          </tr>
		   <tr> 
            <td>单位代码:</td>
            <td colspan="3"><input name="dwdm" type=text readonly="" id="dwdm" style="BORDER-RIGHT: #ffffff 1px groove; BORDER-TOP: #ffffff 1px groove; FONT: 12px Verdana,Geneva,sans-serif; BORDER-LEFT: #ffffff 1px groove; WIDTH: 300px; COLOR: #000000; BORDER-BOTTOM: #ffffff 1px groove; HEIGHT: 18px; BACKGROUND-COLOR: #dff1f9" value="<%=dwdm%>" size=12 maxlength=15> 
              <a href="#" onClick=window.open('windowopen.asp?owid=dd_kyjg&forms=form1&formt=dwdm&formt2=dwdm2','','width=250,scrollbars=1,height=300')><img src="../images/open.gif" width="18" height="12" border="0"></a> 
              <input name="dwdm2" type=hidden id="dwdm2" value="<%=dwdm2%>"></td>
          </tr>
          <tr> 
            <td>&nbsp;</td>
            <td colspan="3">&nbsp;</td>
          </tr>
          <tr>
          <tr> 
            <td><div align="left">著作名称:</div></td>
            <td colspan="3"> <input name="zzmc" type=text readonly="" id="zzmc" style="BORDER-RIGHT: #ffffff 1px groove; BORDER-TOP: #ffffff 1px groove; FONT: 12px Verdana,Geneva,sans-serif; BORDER-LEFT: #ffffff 1px groove; WIDTH: 240px; COLOR: #000000; BORDER-BOTTOM: #ffffff 1px groove; HEIGHT: 18px; BACKGROUND-COLOR: #dff1f9" value="<%=zzmc%>" size=12 maxlength=80></td>
          </tr>
          <tr> 
            <td>&nbsp;</td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
          </tr>
          <tr> 
            <td><div align="left">著作类别:</div></td>
            <td width="30%"><input name="zzlb" type=text readonly="" id="htbh4" style="BORDER-RIGHT: #ffffff 1px groove; BORDER-TOP: #ffffff 1px groove; FONT: 12px Verdana,Geneva,sans-serif; BORDER-LEFT: #ffffff 1px groove; WIDTH: 160px; COLOR: #000000; BORDER-BOTTOM: #ffffff 1px groove; HEIGHT: 18px; BACKGROUND-COLOR: #dff1f9" value="<%=zzlb%>" readonly="" size=12 maxlength=20> 
              <a href="#" onClick=window.open('windowopen.asp?owid=dd_zzlb&forms=form1&formt=zzlb&formt2=zzlb2','','width=250,scrollbars=1,height=300')><img src="../images/open.gif" width="18" height="12" border="0"></a> 
              <INPUT name="zzlb2" type=hidden id="zzlb2" value="<%=zzlb2%>"></td>
            <td width="15%">出版社:</td>
            <td width="30%"><input name="cbs" readonly="" type=text id="cbs" style="BORDER-RIGHT: #ffffff 1px groove; BORDER-TOP: #ffffff 1px groove; FONT: 12px Verdana,Geneva,sans-serif; BORDER-LEFT: #ffffff 1px groove; WIDTH: 160px; COLOR: #000000; BORDER-BOTTOM: #ffffff 1px groove; HEIGHT: 18px; BACKGROUND-COLOR: #dff1f9" value="<%=cbs%>" size=12 maxlength=20> 
            </td>
          </tr>
          <tr> 
            <td>&nbsp;</td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
          </tr>
          <tr> 
            <td><div align="left">出版时间:</div></td>
            <td><input name="cbsj" type=text readonly="" id="htqs3" style="BORDER-RIGHT: #ffffff 1px groove; BORDER-TOP: #ffffff 1px groove; FONT: 12px Verdana,Geneva,sans-serif; BORDER-LEFT: #ffffff 1px groove; WIDTH: 160px; COLOR: #000000; BORDER-BOTTOM: #ffffff 1px groove; HEIGHT: 18px; BACKGROUND-COLOR: #dff1f9" value="<%=cbsj%>" size=12 maxlength=20 readonly=""> 
              <a href='#' onClick="window.open('dateinput.asp?Accept=form1.cbsj','','width=450,height=280');"><img src="../images/open.gif" width="18" height="12" border="0"></a></td>
            <td>书号:</td>
            <td><input name="sh" type=text readonly="" id="htbh3" style="BORDER-RIGHT: #ffffff 1px groove; BORDER-TOP: #ffffff 1px groove; FONT: 12px Verdana,Geneva,sans-serif; BORDER-LEFT: #ffffff 1px groove; WIDTH: 160px; COLOR: #000000; BORDER-BOTTOM: #ffffff 1px groove; HEIGHT: 18px; BACKGROUND-COLOR: #dff1f9" value="<%=sh%>" size=12 maxlength=20> 
            </td>
          </tr>
          <tr> 
            <td>&nbsp;</td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
          </tr>
          <tr> 
            <td><div align="left">学科类别:</div></td>
            <td><input name="xklb" type=text readonly="" id="htjf3" style="BORDER-RIGHT: #ffffff 1px groove; BORDER-TOP: #ffffff 1px groove; FONT: 12px Verdana,Geneva,sans-serif; BORDER-LEFT: #ffffff 1px groove; WIDTH: 160px; COLOR: #000000; BORDER-BOTTOM: #ffffff 1px groove; HEIGHT: 18px; BACKGROUND-COLOR: #dff1f9" value="<%=xklb%>" size=12 maxlength=20 readonly=""> 
              <a href="#" onClick=window.open('windowopen.asp?owid=dd_xklb&forms=form1&formt=xklb&formt2=xklb2','','width=250,scrollbars=1,height=300')><img src="../images/open.gif" width="18" height="12" border="0"></a> 
              <INPUT name="xklb2" type=hidden id="xklb2" value="<%=xklb2%>"></td>
            <td>获奖情况:</td>
            <td><input name="hjqk" type=text readonly="" id="hjqk" style="BORDER-RIGHT: #ffffff 1px groove; BORDER-TOP: #ffffff 1px groove; FONT: 12px Verdana,Geneva,sans-serif; BORDER-LEFT: #ffffff 1px groove; WIDTH: 160px; COLOR: #000000; BORDER-BOTTOM: #ffffff 1px groove; HEIGHT: 18px; BACKGROUND-COLOR: #dff1f9" value="<%=hjqk%>" size=12 maxlength=20 readonly=""> 
              <a href="#" onClick=window.open('windowopen.asp?owid=dd_hjqk&forms=form1&formt=hjqk&formt2=hjqk2','','width=250,scrollbars=1,height=300')><img src="../images/open.gif" width="18" height="12" border="0"></a> 
              <INPUT name="hjqk2" type=hidden id="hjqk2" value="<%=hjqk2%>"></td>
          </tr>
          <tr> 
            <td>&nbsp;</td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
          </tr>
          <tr> 
            <td><div align="left">出版社等级:</div></td>
            <td><input name="cbsdj" type=text readonly="" id="htjf3" style="BORDER-RIGHT: #ffffff 1px groove; BORDER-TOP: #ffffff 1px groove; FONT: 12px Verdana,Geneva,sans-serif; BORDER-LEFT: #ffffff 1px groove; WIDTH: 160px; COLOR: #000000; BORDER-BOTTOM: #ffffff 1px groove; HEIGHT: 18px; BACKGROUND-COLOR: #dff1f9" value="<%=cbsdj%>" size=12 maxlength=20 readonly="">
              <a href="#" onClick=window.open('windowopen.asp?owid=dd_zzdj&forms=form1&formt=cbsdj&formt2=cbsdj2','','width=250,scrollbars=1,height=300')><img src="../images/open.gif" width="18" height="12" border="0"></a> 
              <INPUT name="cbsdj2" type=hidden id="cbsdj2" value="<%=cbsdj2%>"></td>
            <td>总字数:</td>
            <td><input name="zzs" type="text" readonly="" id="zzs" style="BORDER-RIGHT: #ffffff 1px groove; BORDER-TOP: #ffffff 1px groove; FONT: 12px Verdana,Geneva,sans-serif; BORDER-LEFT: #ffffff 1px groove; WIDTH: 160px; COLOR: #000000; BORDER-BOTTOM: #ffffff 1px groove; HEIGHT: 18px; BACKGROUND-COLOR: #dff1f9" value="<%=zzs%>" size="12"> 
            </td>
          </tr>
          <tr> 
            <td>&nbsp;</td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
          </tr>
          <tr> 
            <td><div align="left">基本内容:</div></td>
            <td colspan="3"><input name="jbnr" type=text readonly="" id="xklb3" style="BORDER-RIGHT: #ffffff 1px groove; BORDER-TOP: #ffffff 1px groove; FONT: 12px Verdana,Geneva,sans-serif; BORDER-LEFT: #ffffff 1px groove; WIDTH: 480px; COLOR: #000000; BORDER-BOTTOM: #ffffff 1px groove; HEIGHT: 18px; BACKGROUND-COLOR: #dff1f9" value="<%=jbnr%>" size=12 maxlength=100 > 
            </td>
          </tr>
          <tr> 
            <td>&nbsp;</td>
            <td colspan="3">&nbsp;</td>
          </tr>
          <tr> 
            <td><div align="left">审核标志:</div></td>
            <td colspan="3"><input name="shbz" type=text readonly="" id="shbz3" style="BORDER-RIGHT: #ffffff 1px groove; BORDER-TOP: #ffffff 1px groove; FONT: 12px Verdana,Geneva,sans-serif; BORDER-LEFT: #ffffff 1px groove; WIDTH: 160px; COLOR: #000000; BORDER-BOTTOM: #ffffff 1px groove; HEIGHT: 18px; BACKGROUND-COLOR: #dff1f9" value="<%=shbz%>" size=12 maxlength=20 readonly=""> 
              <a href="#" onClick=window.open('windowopen.asp?owid=dd_shbz&forms=form1&formt=shbz&formt2=shbz2','','width=250,scrollbars=1,height=300')><img src="../images/open.gif" width="18" height="12" border="0"></a> 
              <input name="shbz2" type=hidden id="shbz22" value="<%=shbz2%>"> 
            </td>
          </tr>
          <tr> 
            <td colspan="4"> <div align="center"> 
                <INPUT type=hidden name="submitreg" value="">
               
                <INPUT type=submit value="查 询"  name=Submitx style="background-color: #DDDDDD; background-repeat: repeat; background-attachment: scroll; font-size: 9pt; height: 20; width: 50; border: 1px groove #000000; background-position: 0% 50%">
              </div></td>
          </tr>
        </table>
        </form>
        </td>
  </tr>
</table>
</body>

⌨️ 快捷键说明

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