11 2012 档案

摘要:用Linq加载treeview时代码如下: private void BindRootTree() { this.tv_emp.Nodes.Clear(); this.BindTreeView(null, null); } private void BindTreeView(TreeNode tn,DEPARTMENT1 dept) { DataEntityQuery<DEPARTMENT1> query = DataEntityQuery<DEPARTMENT1>.Create(); int parentID = dept != null ? dept.id : 0; 阅读全文
posted @ 2012-11-28 13:28 舍鱼 阅读(178) 评论(0) 推荐(0) 编辑