zoidberg84
Programmer
hello, i am creating a website that requires users to enter their details and then i insert them into a database, i use "templatefields" to bind text to a field from the database and this works perfectly. However i have a textbox that takes the user's postcode and sends it to the database...what i really want to do is also send the postcode in a querystring to the next page! it works like so:
Page 1 = subscribe.aspx
Page 2 = payment.aspx
here i link all the data to another table in the same database but i want the page to load with post code textbox on this page already containing the users post code - having been entered and sent from the last page!?!?!
I am lost, i have looked at session state but it didnt help! any ideas??
Page 1 = subscribe.aspx
Code:
<asp:TemplateField HeaderText="Post Code">
<InsertItemTemplate>
<asp:TextBox ID="postCodeTextBox" runat="server" Text='<%# Bind("Address_PostCode") %>'></asp:TextBox>
</InsertItemTemplate>
</asp:TemplateField>
here i link all the data to another table in the same database but i want the page to load with post code textbox on this page already containing the users post code - having been entered and sent from the last page!?!?!
I am lost, i have looked at session state but it didnt help! any ideas??