| |||||
OleDbDataReader.IsDBNull MethodSystem.Data.OleDb Namespace OleDbDataReader Class Checks whether the column contains non-existent or missing values. [ VB ] NotOverridable Public Function IsDBNull ( _ ByVal index As Integer _ ) As Boolean [ C# ] public bool IsDBNull ( int index ); [ C++ ] public: __sealed bool IsDBNull ( int index ); [ JScript ] public function IsDBNull ( index : int ) : Boolean Parameters
Return ValueThis method returns only a boolean value: true if the specified column is equivalent to DBNull; otherwise, false. The property is read only with no default value. RemarksCall this method to check for null column values before calling the typed get methods ( for example, GetByte, GetChar, and so on ) to avoid raising an error. See Also |
| ||||
Check out related books at Amazon
© 2000-2008 Rey Nuñez All rights reserved.
If you have any question, comment or suggestion
about this site, please send us a note
You can help support aspxtreme