I need some code in ASP.NET when Submit button Click show one messege Like "your Message Sent Successfully" in ASP.NET
I don't know ASP.net please anybody help me

Recommended Answers

All 2 Replies

protected void Button1_Click(object sender, EventArgs e)
{
Page.RegisterClientScriptBlock("yourKey", "<script>alert('your message sent successfully');</script>");
}

Sounds a little like homework, no? Tsk tsk.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.