In Vb.net i applying CSharp Code.
In run Mode i type all the inputs when i click save button i want to show message Record Inserted Successfully.
I design the screen in vb.net and in code i use Csharp code in vb.net
please help me.
When i click save button i want to show message Record Inserted Successfully?
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Jignesh TrivediRank #16 · 50.3K reputationPosted Jun 20, 2012, 2:17 AM EDT
to show message in javascript after save use can use Page.ClientScript.RegisterStartupScript or Page.RegisterClientScriptBlock.
please try...
protected void btnTest_Click(object sender, EventArgs e)
{
// write your save logic
//Page.RegisterClientScriptBlock("mes", "");
Page.ClientScript.RegisterStartupScript(GetType(), "msgbox", "alert('Record Save Successfully.');", true);
}
hope this will help you.
Posted Jun 20, 2012, 4:40 AM EDT
If it is a windows application then use, MessageBox.ShowDialog("Record Inserted Successfully.");