【发布时间】:2010-10-13 16:32:07
【问题描述】:
我有一个 ASP.NET Web 应用程序,我想知道在引发异常时如何显示错误消息框。
例如,
try
{
do something
}
catch
{
messagebox.write("error");
//[This isn't the correct syntax, just what I want to achieve]
}
[消息框显示错误]
谢谢
【问题讨论】:
标签: c# asp.net web-applications messagebox