| |||||
IDataRecord.GetValues MethodSystem.Data Namespace IDataRecord Class Returns all the attribute fields for the current record. [ VB ] NotOverridable Public Function GetValues ( _ ByVal values ( ) As Object _ ) As Integer [ C# ] public int GetValues ( object [ ] values ); [ C++ ] public: __sealed int GetValues ( Object* values [ ] ); [ JScript ] public function GetValues ( values : Object [ ] ) : int Parameters
Return ValueThe number of instances of Object in the array. RemarksFor most applications, the GetValues method provides an efficient means for retrieving all columns, rather than retrieving each column individually. You can pass an Object array that contains fewer than the number of columns contained in the resulting row. Only the amount of data the Object array holds is copied to the array. You can also pass an Object array whose length is more than the number of columns contained in the resulting row. This method returns DBNull for null database columns. 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