ASP 入门

发布时间:2025-12-10 11:34:49 浏览次数:4

(1) 在ASP 中使用MessageBox

项目-〉 References -> 右键 —〉 Add Reference -> .Net -〉System.Windows.Forms.dll

.cs中 using System.Windows.Forms;

messagebox.show("联接已打开!");

当然,也可以直接用Response.Write("<script>alert('联接已打开!')</script>");


 

(2) 在ASP中跳转到某个页面

Response.Redirect("loginok.asp")


 

 ps:其实我也不知道为什么写了这么个东西~

转载于:https://www.cnblogs.com/CBDoctor/archive/2013/04/21/3034524.html

需要做网站?需要网络推广?欢迎咨询客户经理 13272073477