我的一个表单页面点击提交时,提交不到要处理的页面,还是直接返回表单所在的页面,怎么回事??大家帮帮忙!!!

解决方案 »

  1.   

    .......
    .......
    对提交数据的处理
    .......
    .......
    Response.Write("<script>parent.location='aa.aspx';</script>");
    Response.End();
      

  2.   

    <%@ Page Language="VB" ContentType="text/html" ResponseEncoding="gb2312" %>
    <!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>
    </head>
    <body>
    <form name="compute" method="get" action="record.aspx" runat="server">

    <asp:Button ID="total" runat="server" Text="提交"></asp:Button>
    </form>
    </body>
    </html>
    我把代码贴出来
    大虾们多指教!!