---
title: "Form data is not getting displayed on 2nd page"  
description: "Form data is not getting displayed on 2nd page"  
author: "Anonymous User"  
published: 2014-08-21  
updated: 2014-08-21  
canonical: https://www.mindstick.com/forum/2071/form-data-is-not-getting-displayed-on-2nd-page  
category: "asp.net"  
tags: ["asp.net"]  
reading_time: 1 minute  

---

# Form data is not getting displayed on 2nd page

This is the code of the page where [data](https://www.mindstick.com/articles/13050/salesforce-aiming-to-dominate-predictive-analytics-with-data-science) of form is supposed to display in a text box but its not even directing to this page and stays on the same page..page just blinks on [click](https://www.mindstick.com/articles/12423/social-login-magento-2-one-click-to-register-social) of submit and [nothing else](https://answers.mindstick.com/qa/31037/which-animal-exclusively-eat-only-eucalyptus-leave-and-nothing-else) happens..

```
using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;namespace PayrollSystem{    public partial class frmPersonalVerified : System.Web.UI.Page    {        protected void Page_Load(object sender, EventArgs e)        {            //Add your comments here            txtVerifiedInfo.Text = Request["txtFirstName"] +                "\n" + Request["txtLastName"] +                "\n" + Request["txtPayRate"] +                "\n" + Request["txtStartDate"] +                "\n" + Request["txtEndDate"];        }    }}
```

Below is the code of [submit button](https://www.mindstick.com/forum/12834/make-text-appear-when-submit-button-clicked-and-checkbox-is-unchecked) that I have on my other page that has a form with submit [cancel](https://answers.mindstick.com/qa/94501/how-can-i-cancel-my-singapore-flight-ticket) buttons..why is it not working? whats [wrong](https://answers.mindstick.com/qa/48468/who-wrote-the-the-wrong-enemy-america-in-afghanistan-2001-2014-and-when)? Please help...

```
 <asp:Button ID="btnSubmit" runat="server" Text="Submit"            PostBackUrl="~/frmPersonalVerified.aspx" />        &nbsp;&nbsp;        <asp:Button ID="btnCancel" runat="server" Text="Cancel"             PostBackUrl="~/frmMain.aspx"/>        </asp:Panel>
```

I tried changing PostBackUrl="~/frmPersonalVerified.aspx" to PostBackUrl="frmPersonalVerified.aspx" but it didnt work. whats wrong?

I also added a break point in the [page load](https://www.mindstick.com/articles/12909/how-to-open-first-time-popup-on-page-load-in-website) [method](https://www.mindstick.com/forum/166/webservice-method) of frmPersonalVerified page..it doesnt go inside it..

## Replies

### Reply by Sumit Kesarwani

Hi Jeet, try this :

```
protected void btnSubmit_Click(object sender, EventArgs e) {    
Response.Redirect("~/frmPersonalVerified.aspx"); }
```


---

Original Source: https://www.mindstick.com/forum/2071/form-data-is-not-getting-displayed-on-2nd-page

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
