KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am trying to send form data from one page to another using C# ASP.Net. I have two pages default.aspx and default2.aspx.Here is the code I have in default.aspx: <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> <br /> <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox> <br /> <asp:Button ID="Button1" runat="server" Text="Go" PostBackUrl="~/Default2.aspx" /> <br /> From what I know so far the PostBackUrl is used to set the page in which you want the data to be sent is this correct? Also how can I retrieve the data that is sent to Default2.aspx?
Tags (comma-separated)
Save Edits
Cancel