首页 | 本学科首页   官方微博 | 高级检索  
     

基于.NET的动态导航树生成策略研究
引用本文:宋新爱,李皎.基于.NET的动态导航树生成策略研究[J].电脑编程技巧与维护,2012(20):7-9.
作者姓名:宋新爱  李皎
作者单位:西安石油大学计算机学院,西安,710065
基金项目:陕西省自然科学基金基础研究项目,陕西省自然科学基金基础研究项目,陕西省教育厅科学研究计划项目
摘    要:导航树通常用于对系统功能结构或者具有树状级联关系的数据进行有效组织和表示。介绍了.NET中基于TreeView控件的动态导航树的两种算法的生成及其实现。自定义DBSqlHelper类对C#访问Oracle数据库操作进行封装。针对数据在数据库中的不同存储方式,可采用相应的导航树生成策略,动态导航树比静态导航树更灵活、易维护。

关 键 词:动态导航树  递归算法  级联算法  数据库访问  配置文件

Research on the Strategies of .NET Dynamic Navigation Tree Generation
SONG Xin-ai , LI Jiao.Research on the Strategies of .NET Dynamic Navigation Tree Generation[J].Computer Programming Skills & Maintenance,2012(20):7-9.
Authors:SONG Xin-ai  LI Jiao
Affiliation:(School of Computer Science, Xi'an Shiyou University, Xi'an 710065, China)
Abstract:Navigation tree is commonly used to effectively organize and express system functionality or data in a tree cas- cade relationship. The paper proposes two algorithms and its implementation for generating dynamic navigation tree by Tree- View control in .Net. A customized DBSqlHelper class is defined to encapsulate Oracle database operations in C#. For different storage mode of data in the database, the corresponding generation strategies can be adopted.In compared with static navigation tree, the dynamic navigation tree enables flexibility and maintainability.
Keywords:dynamic navigation tree  recursive algorithm  cascade algorithm  database access  configuration file
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号