以 DateTime 对象形式返回指定列的值。
Visual Basic Public Overrides Function GetDateTime( _ ByVal ordinal As Integer _ ) As Date
C# public override DateTime GetDateTime( int ordinal );
ordinal 从零开始的列顺序号。
指定列的值。
不会进行任何转换,因此检索的数据必须已经是 DateTime 对象。
在调用此方法之前,调用 SADataReader.IsDBNull 方法以检查是否存在空值。
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |