如何显示在C#asp.net形式/显示消息框? [英] How to show/display message box in C# asp.net forms?
本文介绍了如何显示在C#asp.net形式/显示消息框?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想添加/显示在C#asp.net一个OK按钮一些消息,而无需使用Windows.Forms的名字空间。
I want to add/show some message with a OK button in c# asp.net without using the windows.forms name space.
推荐答案
使用:
string display = "Pop-up!";
ClientScript.RegisterStartupScript(this.GetType(), "yourMessage", "alert('" + display + "');", true);
<一个href=\"http://stackoverflow.com/questions/16370465/how-to-show-alert-box-after-successful-insert-using-c-sharp\">how使用C#显示警告框插入成功后
<一个href=\"http://www.$c$cproject.com/Articles/43281/Buttons-Message-Box-and-Confirm-Box-in-ASP-NET-3-5\">Buttons,信息框,确认框在ASP.NET 3.5
如何显示的MessageBox在ASP.NET(CSASPNETMessageBox)
这篇关于如何显示在C#asp.net形式/显示消息框?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文