最近几年来,地理信息系统无论是在理论上还是应用上都处在一个飞速发展的阶段。 GIS被应用于多个领域的建模和决策支持,如城市管理、区划、环境整治等等,地理信息成为信息时代重要的组成部分之一; “数字地球”概念的提出,更进一步推动了作为其技术支撑的GIS的发展。 与此同时,一些学者致力于相关的理论研究,如空间感知、空间数据误差、空间关系的形式化等等。 这恰好说明了地理信息系统作为应用技术和学科的两个方面,并且这两个方面构成了相互促进的发展过程。
Error object ¶
ADO Error object contains details of data access errors related to a single operation involving a provider.
ADO will produce one for each error. Error object. Every one of them. Error object contains details of the specific error, and Error object is stored in the Errors assembly. To access these errors,you must reference a specific connection.
Loop traversal Errors collection:
<% for each objErr in objConn.Errors response.write(""
) response.write("Description: ") response.write(objErr.Description& "
") response.write("Help context: ") response.write(objErr.HelpContext & "
") response.write("Help file: ") response.write(objErr.HelpFile & "
") response.write("Native error: ") response.write(objErr.NativeError & "
") response.write("Error number: ") response.write(objErr.Number & "
") response.write("Error source: ") response.write(objErr.Source & "
") response.write("SQL state: ") response.write(objErr.SQLState & "
") response.write("") next %> Grammar ¶
objErr.property Attribute ¶
Attribute | Description |
|---|---|
Description | Returns an error description. |
HelpContext | Returns the content ID of a topic in Microsoft Windows help system. |
HelpFile | Returns the full path to the help file in Microsoft Windows help system. |
NativeError | Returns the error code from the provider or data source. |
Number | Returns a unique number that identifies the error. |
Source | Returns the name of the object or application that caused the error. |
SQLState | Returns a 5-character SQL error code. |