提出js框

   Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "", "<script>alert('"+ex.Message+"');</script>");

原文地址:https://www.cnblogs.com/markli/p/2976104.html