检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]河北工程大学教育技术中心,河北邯郸056038 [2]河北工程大学信电学院,河北邯郸056038 [3]邯郸市水利水电勘测设计研究院信息部,河北邯郸056002
出 处:《河北大学学报(自然科学版)》2006年第6期664-667,共4页Journal of Hebei University(Natural Science Edition)
基 金:河北省科技攻关项目(2000103620041102)
摘 要:在数据库应用系统中,对记录数据的操作涉及增删、修改和查询等,而这些功能的实现必定与用户输入的各种信息相关,用户输入信息指令如果不符合数据库定义的约束限制,则会导致异常,引发错误.良好的数据库应用系统应能对各种异常做出处理,并将错误信息通过易于理解的语言方式反馈给用户,使用户知道引发错误的根源并做出适当的修正,这是实现完善的人机交互界面的重要内容.本文使用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.
关 键 词:完整性约束 SqlException 错误级别 错误代码 Sqlconnection 表结构
分 类 号:TP311.1[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.15