try { } catch(Expection ex) { Response.Write(ex.Message); } 转载于:https://www.cnblogs.com/yueyuepeng/p/4161008.html