using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class Sent : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
ButtonSend.PostBackUrl = "~/receive.aspx";
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class receive : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (Request.Form["TextBoxTo"] != null && Request.Form["TextBoxMessage"] != null)
{
Label1.Text = Request.Form["TextBoxTo"].ToString();
Label2.Text = Request.Form["TextBoxMessage"].ToString();
}
}
}