我已经下载安装了TreeView控件,用private void InitTree(TreeNodeCollection Nds,string parentId)来定义树生成函数,可是编译的时候系统老是提示说“the type or name spacename 'TreeNodeCollection' could not be found”,请问怎么回事呀?谢谢!
...全文
719打赏收藏
请教TreeView问题
我已经下载安装了TreeView控件,用private void InitTree(TreeNodeCollection Nds,string parentId)来定义树生成函数,可是编译的时候系统老是提示说“the type or name spacename 'TreeNodeCollection' could not be found”,请问怎么回事呀?谢谢!
添加引用到工程中?我是新手,我不是很清楚,不过在在Reference里已经有Microsoft.Web.UI.WebControls。我在国外的网站看到说是要Import Microsoft.Web.UI.WebControls namespace on the class
但是怎么import呀?谢谢!