摘要
在数据库应用系统中,对记录数据的操作涉及增删、修改和查询等,而这些功能的实现必定与用户输入的各种信息相关,用户输入信息指令如果不符合数据库定义的约束限制,则会导致异常,引发错误.良好的数据库应用系统应能对各种异常做出处理,并将错误信息通过易于理解的语言方式反馈给用户,使用户知道引发错误的根源并做出适当的修正,这是实现完善的人机交互界面的重要内容.本文使用ASP.NET开发数据库应用程序,对数据库可能产生的异常处理技术进行一些探讨.
B/S database program system includes various of work ,such as inserting records,deleting records and condition searches. These operations are related to user's inputing information, If client user's orders do not accord with database defined restrain, system will rise exception and emerge error. Good database application can deal with every unexcepted error and output information to user with easy understandable language. By this way user knows the questions and modifies to correct information orders, It is an important function that perfect operaters-computer interface, In this paper, we developed database application program with Microsoft ASP. Net to talk about the method of handling unexcepted error.
出处
《河北大学学报(自然科学版)》
CAS
北大核心
2006年第6期664-667,共4页
Journal of Hebei University(Natural Science Edition)
基金
河北省科技攻关项目(2000103620041102)