在类中写一个函数
public void WebMessageBox(string values)
{ HttpContext.Current.Response.Write("");
HttpContext.Current.Response.End();
}
public void WebMessageBox(string values,string PageURL)
{ HttpContext.Current.Response.Write("");
HttpContext.Current.Response.End();
}
只传弹出消息,是后退;重载的方法是弹出后点确定跳转指定页
你是要在Web里面实现这个功能吗?
在Web中不能使用MessageBox的功能