hi! i have problem with my form. I cannot connect with home.aspx when i submit it, there is nothing happen.
Can anyone tell me whY?

HERE'S MY CODE:

file name: Registration.aspx

<form id="form1" runat="server" method="post" action="home.aspx">
    <div>
        <table style="height: 141px">
            <tr>
                <td><label>Name:</label></td>
                <td>
                    <asp:TextBox ID="txtname" runat="server"></asp:TextBox></td>
                <td class="style1">
                    <asp:RequiredFieldValidator ID="errorname" runat="server" 
                        ControlToValidate="txtname" ErrorMessage="error in name"></asp:RequiredFieldValidator>
                </td>
            </tr>
              <tr>
                <td><label>Email:</label></td>
                <td><asp:TextBox ID="txtemail" runat="server"></asp:TextBox></td>
                <td class="style1">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ControlToValidate="txtemail" Display="Dynamic" ErrorMessage="error in email" 
                        SetFocusOnError="True"></asp:RequiredFieldValidator>
                  </td>
            </tr>
              <tr>
                <td><label>Address:</label></td>
                <td>
                    <asp:TextBox ID="txtaddress" runat="server"></asp:TextBox></td>
                <td class="style1">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                        ControlToValidate="txtaddress" ErrorMessage="error in address"></asp:RequiredFieldValidator>
                </td>
            </tr>
        </table>
        <asp:Button ID="Button1" runat="server" Text="Button" 
            onclick="Button1_Click1" />

        &nbsp;<input id="Submit1" type="submit" value="submit" /></div>
    </form>

What is the Error ? Do you use the "Button1" to redirect ?

Yes! thank you because you give me an idea. I think i will use Response.redirect() code to direct me to home.aspx

Welcome :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.