摘要
针对传统数据验证方法的缺陷,借鉴Web应用中非侵入式验证的思想,基于Visual Basic编程环境下通过数据输入控件与验证组件之间的映射与绑定实现数据的非侵入式验证,利用子类化技术实现类似Web表单的非侵入式验证,能够在不修改源代码和界面的情况下给程序添加数据验证功能,给出了验证组件设计的思路与主要技术。
According to the limitation of traditional verification method,applying non- intrusive verification ideas in web application,the author tries to realize data non- intrusive verification by mapping and binding between data input control and verification of components base on VB. By using sub- classified technique to achieve a similar Web form non- intrusive verification,the author adds data validation function to the program without modify the source code and interface. Finally,the paper gives ideas and main technology about design of verification component.
出处
《九江职业技术学院学报》
2014年第2期8-12,24,共6页
Journal of Jiujiang Vocational and Technical College
基金
福建省教育厅科研课题"数据库操作及数据处理组件研发"(项目编号:JB13369)
关键词
数据验证
需求分析
非侵入式
VB
data validation
demand analysis
non-intrusive
VB