我想使用MessageBox , 我亦知道要先到入system.windows.form, 
但就是找不到这个明名空间 
Imports System.Windows.Form怎么办, 是不是因为我装的是.Net 的 Beta版问题

解决方案 »

  1.   

    you can't use MessageBox function in web page
    you can use codes such as the following:
    -------------------------------------------------------------
             string strMessage = "content you want to show";
             string id = "anystring";
    script = "<script language='javascript'>alert('" + strMessage.Replace( "\r\n" , "\\n" ) + "');</script>"; this.Page.RegisterStartupScript(id,script);
    -----------------------------------------------------------
      

  2.   

    添加引用,选择.net->system.window.form