using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
namespace WebApplication16
{
public partial class WebForm9 : System.Web.UI.Page
{
protected void Button1_Click(object sender, EventArgs e)
{
Label1.Text = TextBox1.Text;
ClientScriptManager csm = Page.ClientScript;
csm.RegisterStartupScript(this.GetType(), "showalert", "alert('Data Saved Successfully.')", true);
}
}
}
If this post helps you mark it as answer
Thanks
Manbkp, if this helps please login to Mark As Answer. | Alert Moderator