mItems[j] = new string[ns1.Count]; foreach(XmlNode n in ns1) { mItems[j][i] = n.InnerXml.Trim(); i++; } XmlNodeList ns2 = node.SelectNodes("菜单DLL"); i=0; mDlls[j] = new string[ns2.Count]; foreach(XmlNode n in ns2) { mDlls[j][i] = n.InnerXml.Trim(); i++; } XmlNodeList ns3 = node.SelectNodes("菜单Func"); i=0; mFuncs[j] = new string[ns3.Count]; foreach(XmlNode n in ns3) { mFuncs[j][i] = n.InnerXml.Trim(); i++; } j++; } }//End读取 } } |
正在阅读:.Net基础学习:动态菜单.Net基础学习:动态菜单
2004-02-14 09:34
出处:PConline
责任编辑:linjixiong
键盘也能翻页,试试“← →”键