Dear Indradeo,
You can use Session or QueryString.
Kindly refer below sample.
HTML
Home
<asp:TextBox runat="server" ID="txtId" />
<asp:Button Text="Save" runat="server" ID="btnSave" OnClick="Save" />
Default
<asp:TextBox runat="server" ID="txtEmpId" />
Code
Home
protected void Save(object sender, EventArgs e)
{
Session["empid"] = txtId.Text.Trim();
Response.Redirect("~/Default.aspx?empid=" + txtId.Text.Trim());
}
Default
protected void Page_Load(object sender, EventArgs e)
{
if (!this.IsPostBack)
{
// Using QueryString.
txtEmpId.Text = Request.QueryString["empid"];
// Using Session.
txtEmpId.Text = Session["empid"].ToString();
}
}
Screenshot