ASP 入门

(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:其实我也不知道为什么写了这么个东西~

posted @ 2013-04-21 21:26  CBDoctor  阅读(169)  评论(0编辑  收藏  举报