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

📄 cate_add.asp

📁 功能强大的查询系统操作方便易懂好用不会繁琐数据库也强大
💻 ASP
字号:
<!-- #include file="Include/Chk.asp" -->
<!-- #include file="Conn.asp" -->
<%
if Request.QueryString("Action")="add" then
	dim Catename
	Catename=Trim(Request.Form("Catename"))
	if Catename="" then
		Response.Write "<script language='javascript'>alert('证书类别名称不能为空!');history.go(-1);</script>"
		Response.End()
	end if
	SQL="Select * from Cate"
	set rs=server.createobject("Adodb.Recordset")
	rs.open SQL,conn,1,3
	rs.AddNew
	rs("Catename")=Catename
	rs.Update
	rs.Close
	Set rs=Nothing
	Response.Write "<script language='javascript'>alert('添加成功 !');document.location.href('Cate_Manage.asp');</script>"
	Response.End()
end if
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title></title>
<link href="Images/default.css" rel="stylesheet" type="text/css" />
</head>

<body>
<form id="form1" name="form1" method="post" action="?Action=add">
  <table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#FFFFFF">
    <tr>
      <td height="24" colspan="2"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="82" height="24" align="center" valign="middle" background="Images/t_1.gif" class="AddGoods"><a href="#">添加证书类别</a></td>
            <td width="1" align="center" valign="middle"></td>
            <td width="88" height="24" align="center" valign="bottom" class="AddGoods"><table width="88" height="22" border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <td align="center" valign="middle" background="Images/t_2.gif"><a href="Cate_Manage.asp" class="AddGoods">管理证书类别</a></td>
                </tr>
            </table></td>
            <td>&nbsp;</td>
          </tr>
      </table></td>
    </tr>
    <tr>
      <td height="5" colspan="2" background="Images/topnav.gif"></td>
    </tr>
    <tr>
      <td height="5" colspan="2"></td>
    </tr>
    <tr>
      <td width="18%" height="25" align="right" valign="middle" bgcolor="#efefef">证书类别名称:</td>
      <td width="82%" height="25" align="left" valign="middle">&nbsp;
      <input name="Catename" type="text" id="Catename" size="15" maxlength="15" />
      * 不能超过15个字 </td>
    </tr>
    <tr>
      <td height="25" align="right" valign="middle" bgcolor="#efefef">&nbsp;</td>
      <td height="25" align="left" valign="middle">&nbsp;
      <input type="submit" name="Submit" value="添 加" />
      <span class="C_Title">带
      * 的项目为必填内容</span> </td>
    </tr>
  </table>
</form>
</body>
</html>

⌨️ 快捷键说明

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