\"; pgno.Controls.Add(lbl); } 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", "answerCount": 0, "datePublished": "2010-04-01T03:34+00:00", "author": { "@type": "Person", "name": "mohammad qasim", "url": "https://www.csharp.com/members/mohammad-qasim" } } }
0
Answer

show message box after saving the data into db(sqlserver) in asp.net with c#

mohammad qasim

mohammad qasim

14y
4.8k
1
Asp.net 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 = &quot;&lt;script type='text/javascript' language='javascript'&gt;&quot; + Environment.NewLine+ &quot;window.alert('&quot; + strMessage + &quot;');&lt;/script&gt;&quot;;
    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