using Microsoft.Web.UI.WebControls;
btw:没必要发那么多贴吧

解决方案 »

  1.   

    保证下面两个条件满足:
    1.  把“C:\program files\microsoft internet explorer webcontrols\microsoft.web.ui.webcontrols.dll”(根据你安装的目录而变)添入引用中
    2.  在WebForm1.aspx.cs文件上面加入
    using Microsoft.Web.UI.WebControls;
      

  2.   

    我也遇到相同的问题了。我安装了treeview控件,也添入引用了microsoft.web.ui.webcontrols.dll,同时也在文件上面加入了
    using Microsoft.Web.UI.WebControls。 但是编译时仍提示错误:
    找不到类型或命名空间treenode
      

  3.   

    注意大小写
    不行就试试
    Microsoft.Web.UI.WebControls.TreeNode