05 2011 档案
摘要:1.新建一个名为TEST表 2.向TEST表中添加数据INSERT INTO TEST(STUDENT,COURSE,SCORE)select '张三','语文',78 from dual unionselect '张三','数学',87 from dual union select '张三','英语',82 from dual unionselect '张三','物理',90 from dual unionselect '李四','语文
阅读全文
摘要:递归绑定树形菜单public void BindTreeVew(TreeView treeView, bool isExpanded, string selected) { //将获取的数据转换为 一个DataTable DataTable dt = GetDataTable(); treeView.Nodes.Clear();//清空 树的所有节点 //筛选数组 DataRow[] rowlist = dt.Select("ParentId='0'"); if (rowlist.Length <= 0) return; //创建跟节点 TreeNod
阅读全文