摘要:
有些疑问未解决的,暂时称用替代方法做了,写下来防忘。。1、IQueryable<T> list=_dbcontext.t.where(...)之后list=list.where(...)如果是实体属性,可以;如果是导航属必,不行。。。只能list=_dbcontext.t.where(...).where(...) 阅读全文
随笔分类 - C#
单击TREENODE展开/关闭的一种替代方法
2009-09-21 01:59 by BorgChen, 280 阅读, 收藏, 编辑
摘要:
先给treeview添加一个node,成为nodes[0],selectNodeChanged里判断展开折叠nodes[0].selected=true可以了。不知道能不能nodes[0]设为不可见,如果可以就更好了。 阅读全文