APP_Code/MessageBox.cs
(完整代码) 978Busing System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
/// <summary>
///MessageBox 的摘要说明
/// </summary>
public class MessageBox
{
public MessageBox()
{
//
//TODO: 在此处添加构造函数逻辑
//
}
public static void Show(string messageInfo)
{
HttpContext.Current.Response.Write("<script>alert('"+messageInfo+"')</script>");
}
public static void Show(string messageInfo, string pagePath)
{
HttpContext.Current.Response.Write("<script>alert('"+messageInfo+"');location='"+pagePath+"'</script>");
}
public static void ShowPath(string pagePath)
{
HttpContext.Current.Response.Write("<script>location='" + pagePath + "'</script>");
}
}
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
