asp.net with C#
how to show the message box after saving the data in db(sqlserver)
??
earlier i was using javascript alert like this
<pre lang="xml">public static void ShowMessage(string strMessage,Page pgno)
{
Label lbl = new Label();
lbl.Text = "<script type='text/javascript' language='javascript'>" + Environment.NewLine+ "window.alert('" + strMessage + "');</script>";
pgno.Controls.Add(lbl);
}</pre>
but since putting update panel and asp:updateprogress Its not working.
Is there any ajax message box to use after saving the data.??
I know the "ConfirmButtonExtender"
but can we use it to show the confirmation message after saving the data into db(sqlserver)
Or better 1
thanks in advance