| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 881 人关注过本帖
标题:[求助]ASP表单提交的问题??
取消只看楼主 加入收藏
xf020405
Rank: 1
等 级:新手上路
帖 子:9
专家分:0
注 册:2007-1-3
收藏
 问题点数:0 回复次数:5 
[求助]ASP表单提交的问题??

是一个参数传递的问题,我是完全仿制http://ahtjj.ah.gov.cn/ydzl/ydzl.asp的风格,设置了http://218.22.78.245的,但是就是不能实现提交的问题,提交接收的zhzl.asp文件是这样的:
<html>
<head>
<title>年月经济运行监测</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

</head>

<frameset rows="100,*" frameborder="0" border="0" framespacing="0">
<frame name="topFrame" scrolling="NO" noresize src="zhzltop.asp?y=&m=">
<frame name="mainFrame" src="error.htm">
</frameset>


<frameset rows="100,*" frameborder="0" border="0" framespacing="0">
<frame name="topFrame" scrolling="NO" noresize src="zhzltop.asp?y=&m=">
<frame name="mainFrame" src="_/__.htm" >
</frameset>

</html>

我哪儿有问题吗??请教高手!!QQ:119881648

搜索更多相关主题的帖子: 表单 ASP 
2007-01-03 17:02
xf020405
Rank: 1
等 级:新手上路
帖 子:9
专家分:0
注 册:2007-1-3
收藏
得分:0 
谢谢你的回复,你能访问上面两个网站看看吗??
表单代码是:
<!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>
<link rel="stylesheet" href="../css/style.css" tppabs="../css/style.css" type="text/css">
<style type="text/css">
<!--
.style1 {
font-size: 18px;
font-weight: bold;
}
.style2 {
font-size: 14px;
font-weight: bold;
}
-->
</style>
</head>

<body leftMargin=0 topMargin=0 bgcolor="#ebf2f5">
<BODY onmouseover="window.status='欢迎您访问繁昌县统计信息网!';return true">
<table width="716" height="85" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
<tr>
<td width="8" background="../images/bj1.jpg" tppabs="../images/bj1.jpg" rowSpan=6></td>
<td valign="bottom"><img src="../images/logo-2.jpg" tppabs="../images/logo-2.jpg" width="700" height="74"> </td>
<td width="8" background="../images/bj2.jpg" tppabs="../images/bj2.jpg" rowSpan=6></td>
</tr>
</table>
<table align="center" border="0" cellpadding="0" cellspacing="0" bgcolor="#61abdd" width="716">
<tbody>
<tr valign=top>
<td width="8" background="../images/bj1.jpg" tppabs="../images/bj1.jpg" rowSpan=6></td>
<td height="3" bgcolor="#FFFFFF"><hr width=100% align="center" size=3 color="#61abdd"></td>
<td width="8" background="../images/bj2.jpg" tppabs="../images/bj2.jpg" rowSpan=6></td>
</tr>
</table>
</BODY>

<table cellspacing=0 cellpadding=0 width=716 align=center border=0 bgcolor="#FFFFFF">
<tbody>
<tr>
<td width="8" background="../images/bj1.jpg" tppabs="../images/bj1.jpg" rowSpan=8>&nbsp;</td>
<td valign=top bgcolor=#ffffff><div align="center" class="style1">
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>繁昌县统计信息网月度资料查询</SPAN></STRONG></p>
<hr width=60% align="center" size=1 color="#61abdd">
</div></td>
<td width="8" background="../images/bj2.jpg" tppabs="../images/bj2.jpg" rowSpan=8>&nbsp;</td>
</tr>

<tr>
<td align="center" valign=top bgcolor=#ffffff><form name="yymm" method="post" action="zhzl.asp"><TABLE width=414 border=0>
<TBODY>
<TR>
<TD align=center width=207><span class="style2">年&nbsp; 份</span>:
<select name="y" size="1" id="y">
<script>document.write("<option value=2006 selected>2006</option>")</script>
<script>for(i=2005;i>2002;i--)document.write("<option value=\""+i+"\">"+i+"</option>")</script>
</select>
</TD>
<TD align=center width=207><span class="style2">月&nbsp; 份</span>:
<select name="m" size="1" id="m">
<script>document.write("<option value=01 selected>1</option>")</script>
<script>for(i=2;i<13;i++)
{
if(i<=9)
document.write("<option value=\""+"0"+i+"\">"+i+"</option>")
else
document.write("<option value=\""+i+"\">"+i+"</option>")
}
</script>
</select></TD>
</TR></TBODY></TABLE>
<br>
<TABLE width=414 border=0>
<TBODY>
<TR align=middle>
<TD width=207>
<DIV align=right>
<P><INPUT type=reset value=" 重 置 " class="an"></P></DIV></TD>
<TD width=207>
<DIV align=left>
<P>
<INPUT type=submit value=" 查 询 " class="an">
</P></DIV></TD></TR></TBODY></TABLE>
<hr width=60% align="center" size=1 color="#61abdd">
<p><div align="center">【<a href="javascript:window.close()" class=tt>关闭窗口</a>】 </div></p>
<p>&nbsp;</p>
</form></td>
</tr>
</tbody>
</table>
<table width="716" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td width="8" background="../images/bj1.jpg" tppabs="../images/bj1.jpg" rowSpan=6>&nbsp;</td>
<td height="15" bgcolor="#FFFFFF"><hr width=100% align="center" size=15 color="#61abdd"></td>
<td width="8" background="../images/bj2.jpg" tppabs="../images/bj2.jpg" rowSpan=6>&nbsp;</td>
</tr>
</table>
<table width="716" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" align="center">
<tr>
<td width="8" background="../images/bj1.jpg" tppabs="../images/bj1.jpg" rowSpan=6>&nbsp;</td>
<td width="700">
<div align="center"> 版权所有&copy;繁昌县省统计局&nbsp;计算中心<br>
地址:繁昌县繁阳镇龙华路88号 邮编:241200 E_MAIL:02-04-05@163.com<br>
联系电话:0553-7877075 传真:0553-7879451<br>
</div>
</td>
<td width="8" background="../images/bj2.jpg" tppabs="../images/bj2.jpg" rowSpan=6>&nbsp;</td>
</tr>
</table>
</body>
</html>
2007-01-04 08:43
xf020405
Rank: 1
等 级:新手上路
帖 子:9
专家分:0
注 册:2007-1-3
收藏
得分:0 

<!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>
<link rel="stylesheet" href="../css/style.css" tppabs="../css/style.css" type="text/css">
<style type="text/css">
<!--
.style1 {
font-size: 18px;
font-weight: bold;
}
.style2 {
font-size: 14px;
font-weight: bold;
}
-->
</style>
</head>

<body leftMargin=0 topMargin=0 bgcolor="#ebf2f5">
<BODY onmouseover="window.status='欢迎您访问繁昌县统计信息网!';return true">
<table width="716" height="85" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
<tr>
<td width="8" background="../images/bj1.jpg" tppabs="../images/bj1.jpg" rowSpan=6></td>
<td valign="bottom"><img src="../images/logo-2.jpg" tppabs="../images/logo-2.jpg" width="700" height="74"> </td>
<td width="8" background="../images/bj2.jpg" tppabs="../images/bj2.jpg" rowSpan=6></td>
</tr>
</table>
<table align="center" border="0" cellpadding="0" cellspacing="0" bgcolor="#61abdd" width="716">
<tbody>
<tr valign=top>
<td width="8" background="../images/bj1.jpg" tppabs="../images/bj1.jpg" rowSpan=6></td>
<td height="3" bgcolor="#FFFFFF"><hr width=100% align="center" size=3 color="#61abdd"></td>
<td width="8" background="../images/bj2.jpg" tppabs="../images/bj2.jpg" rowSpan=6></td>
</tr>
</table>
</BODY>

<table cellspacing=0 cellpadding=0 width=716 align=center border=0 bgcolor="#FFFFFF">
<tbody>
<tr>
<td width="8" background="../images/bj1.jpg" tppabs="../images/bj1.jpg" rowSpan=8>&nbsp;</td>
<td valign=top bgcolor=#ffffff><div align="center" class="style1">
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>繁昌县统计信息网月度资料查询</SPAN></STRONG></p>
<hr width=60% align="center" size=1 color="#61abdd">
</div></td>
<td width="8" background="../images/bj2.jpg" tppabs="../images/bj2.jpg" rowSpan=8>&nbsp;</td>
</tr>

<tr>
<td align="center" valign=top bgcolor=#ffffff><form name="yymm" method="post" action="zhzl.asp"><TABLE width=414 border=0>
<TBODY>
<TR>
<TD align=center width=207><span class="style2">年&nbsp; 份</span>:
<select name="y" size="1" id="y">
<script>document.write("<option value=2006 selected>2006</option>")</script>
<script>for(i=2005;i>2002;i--)document.write("<option value=\""+i+"\">"+i+"</option>")</script>
</select>
</TD>
<TD align=center width=207><span class="style2">月&nbsp; 份</span>:
<select name="m" size="1" id="m">
<script>document.write("<option value=01 selected>1</option>")</script>
<script>for(i=2;i<13;i++)
{
if(i<=9)
document.write("<option value=\""+"0"+i+"\">"+i+"</option>")
else
document.write("<option value=\""+i+"\">"+i+"</option>")
}
</script>
</select></TD>
</TR></TBODY></TABLE>
<br>
<TABLE width=414 border=0>
<TBODY>
<TR align=middle>
<TD width=207>
<DIV align=right>
<P><INPUT type=reset value=" 重 置 " class="an"></P></DIV></TD>
<TD width=207>
<DIV align=left>
<P>
<INPUT type=submit value=" 查 询 " class="an">
</P></DIV></TD></TR></TBODY></TABLE>
<hr width=60% align="center" size=1 color="#61abdd">
<p><div align="center">【<a href="javascript:window.close()" class=tt>关闭窗口</a>】 </div></p>
<p>&nbsp;</p>
</form></td>
</tr>
</tbody>
</table>
<table width="716" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td width="8" background="../images/bj1.jpg" tppabs="../images/bj1.jpg" rowSpan=6>&nbsp;</td>
<td height="15" bgcolor="#FFFFFF"><hr width=100% align="center" size=15 color="#61abdd"></td>
<td width="8" background="../images/bj2.jpg" tppabs="../images/bj2.jpg" rowSpan=6>&nbsp;</td>
</tr>
</table>
<table width="716" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" align="center">
<tr>
<td width="8" background="../images/bj1.jpg" tppabs="../images/bj1.jpg" rowSpan=6>&nbsp;</td>
<td width="700">
<div align="center"> 版权所有&copy;繁昌县省统计局&nbsp;计算中心<br>
地址:繁昌县繁阳镇龙华路88号 邮编:241200 E_MAIL:02-04-05@163.com<br>
联系电话:0553-7877075 传真:0553-7879451<br>
</div>
</td>
<td width="8" background="../images/bj2.jpg" tppabs="../images/bj2.jpg" rowSpan=6>&nbsp;</td>
</tr>
</table>
</body>
</html>
2007-01-04 08:43
xf020405
Rank: 1
等 级:新手上路
帖 子:9
专家分:0
注 册:2007-1-3
收藏
得分:0 
你能访问http://ahtjj.ah.和http://218.22.78.245两个网站看看吗?我很菜的!!
2007-01-04 10:25
xf020405
Rank: 1
等 级:新手上路
帖 子:9
专家分:0
注 册:2007-1-3
收藏
得分:0 
谢谢您们,我已经解决了!!
2007-01-04 14:24
xf020405
Rank: 1
等 级:新手上路
帖 子:9
专家分:0
注 册:2007-1-3
收藏
得分:0 
谢谢您们,我已经解决了!!
2007-01-04 14:28
快速回复:[求助]ASP表单提交的问题??
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.026380 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved