Author: cgoasduff | Posted on: 11/12/2008 10:02:48 AM | Views : 300

 Hi I am trying what I thought would be a very simple task
 I have a login page with user name and password field and a button 
I would like the data entered by the user to be sent to another page. So far, I am redirected to the second page but the data is not transfered (or not displayed on the label)

 here is the first page
<asp:TextBox ID="txt_email" runat="server"></asp:TextBox>
email address<br />
<asp:TextBox ID="txt_password" runat="server"></asp:TextBox>
password<br />
<asp:Button ID="Button1" runat="server"  PostBackUrl="confirmLogin.aspx" Text="Button" />
 
and the second one 
 <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
and the code behind for the second page
 
Go to the complete details ...