我看过很多次了。实在是看不出问题所在。所以请教一下各位高手们,你们可以帮忙吗?谢了!!!
<!--#include file="conn.asp" -->
<!--#include file="top.asp" -->
<%
if Trim(Request.QueryString("w"))="save" then
rs.open "zxdd",conn,2,3
rs.addnew
rs("ddbt")=Trim(Request.Form("ddbt"))
rs("ddny")=Trim(Request.Form("ddny"))
rs("name")=Request.Form("name")
rs("tel")=Trim(Request.Form("tel"))
rs("fax")=Trim(Request.Form("fax"))
rs("mail")=Trim(Request.Form("mail"))
rs("title")=Trim(Request.Form("title"))
rs("add")=Request.Form("add")
rs("add")=Request.Form("add")
rs("yzbm")=Request.Form("yzbm")
rs.update
%>
<script language="VBScript" type="text/VBScript">
msgbox "独立主机新增成功..."
</script>
<%
end if
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>公司简介</title>
<link href="../css.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
body {
margin-left: 00px;
margin-top: 00px;
margin-right: 00px;
margin-bottom: 00px;
}
.style4 {color: #FF0000}
.style5 {color: #FFFFFF}
-->
</style>
</head>
<body leftmargin="0" topmargin="0">
<table width="778" border="0" align="center" cellpadding="3" cellspacing="0">
<tr> <td width="567" height="3" bgcolor="#CCCCCC" > </td>
</tr>
<tr>
<td colspan="2" valign="top" bgcolor="#648CCE">
<form name="form1" method="post" action="zxdd.asp?w=save">
<table width="90%" border="0" align="center" cellpadding="2" cellspacing="1">
<tr align="center" valign="middle" bgcolor="#648CCE">
<td height="40" colspan="3"><span class="style8"><span class="btcu">在线定单 </span></span></td>
</tr>
<tr align="left" valign="middle" bgcolor="#648CCE" class="style2">
<td height="15" colspan="3"><span class="style4"><span class="style5">带星号*的必须填</span><br>
</span></td>
</tr>
<tr valign="top" bgcolor="#648CCE" class="style2">
<td width="19%" height="25" align="left" valign="middle" class="style5"> 订单标题:* </td>
<td width="81%" colspan="2" align="left" valign="middle">
<input name="ddbt" type="text" class="style4" value="生产设备" size="20"></td>
</tr>
<tr valign="top" bgcolor="#648CCE" class="style2">
<td height="25" align="left" valign="middle" class="style5"> 订单内容:* </td>
<td colspan="2" align="left" valign="middle">
<textarea name="ddny" cols="60" rows="5" class="style4"></textarea></td>
</tr>
<tr valign="top" bgcolor="#648CCE" class="style2">
<td height="25" align="left" valign="middle" class="style5"> 联 系 人:* </td>
<td colspan="2" align="left" valign="middle">
<input type="text" name="name" size="20"></td>
</tr>
<tr valign="top" bgcolor="#648CCE" class="style2">
<td height="25" align="left" valign="middle" class="style5"> 联系电话:* </td>
<td colspan="2" align="left" valign="middle">
<input type="text" name="tel" size="20"></td>
</tr>
<tr valign="top" bgcolor="#648CCE" class="style2">
<td height="25" align="left" valign="middle" class="style5"> 联系传真: </td>
<td colspan="2" align="left" valign="middle">
<input type="text" name="fax" size="20"></td>
</tr>
<tr valign="top" bgcolor="#648CCE" class="style2">
<td height="24" align="left" valign="middle" class="style5"> 电子信箱:* </td>
<td colspan="2" align="left" valign="middle">
<input name="mail" type="text" size="20"></td>
</tr>
<tr valign="top" bgcolor="#648CCE" class="style2">
<td height="26" align="left" valign="middle" class="style5"> 公司名称:* </td>
<td colspan="2" align="left" valign="middle">
<input name="title" type="text" size="40"></td>
</tr>
<tr valign="top" bgcolor="#648CCE" class="style2">
<td height="25" align="left" valign="middle" class="style5"> 联系地址:* </td>
<td colspan="2" align="left" valign="middle">
<input name="add" type="text" size="40"></td>
</tr>
<tr valign="top" bgcolor="#648CCE" class="style2">
<td height="25" align="left" valign="middle" class="style5"> 邮政编码: </td>
<td colspan="2" align="left" valign="middle">
<input type="text" name="yzbm" size="20"></td>
</tr>
<tr valign="top" bgcolor="#648CCE" class="style2">
<td height="25" align="left" valign="middle" class="style4"> </td>
<td colspan="2" align="center" valign="middle"><input type="submit" name="Submit" value="提交">
<input type="reset" name="Submit3" value="重置"></td>
</tr>
<tr valign="top" bgcolor="#648CCE" class="style2">
<td height="25" align="left" valign="middle" class="style4"> </td>
<td colspan="2" align="left" valign="middle"> </td>
</tr>
</table></form></td>
</tr>
<tr>
<td height="3" colspan="2" bgcolor="#CCCCCC"></td>
</tr>
<tr>
<td colspan="2" valign="top" bgcolor="#496BC5"><div align="center">
<table width="95%" height="25" border="0" cellpadding="0" cellspacing="0" class="text">
<tr>
<td width="8%"> </td>
<td width="92%"></td>
</tr>
</table>
</div></td>
</tr>
</table>
</body>
</html>