我在增加命名空间:using System.windows.form 时会出错,是为何呀??提示如下:
Error 1 The type or namespace name 'windows' does not exist in the namespace 'System' (are you missing an assembly reference?)

解决方案 »

  1.   

    using System.Windows.Forms;
      

  2.   

    Web 里面没有这个! 晕...当然会提示出错了。
      

  3.   

    web的话先添加Forms。dll在
    http://community.csdn.net/Expert/topic/5462/5462333.xml?temp=.604809
      

  4.   

    是要去这个网上下载这个dll文件吗?这个文件应放在哪里?
    我的本意是想利windows.forms里面的messagebox.show(""),
      

  5.   

    用这个就行了Response.Write("<script lanaguage=javascript>alert('Message');</script>");
      

  6.   

    但我想用那个怎么办呢?还有就是如何有msgbox()
      

  7.   

    你在项目里引用System.Windows.Forms.Dll这个类库了吗?
    如果没有引用就会出这个错误.