| |||||||||
IDataRecord.FieldCount PropertySystem.Data Namespace IDataRecord Class Returns the number of columns in the current row. Syntax
Property Value
The property is read only with a default value of -1. Exceptions
RemarksWhen not positioned in a valid recordset, FieldCount returns 0; otherwise, returns the number of columns in the data source. After executing a query that does not return rows, such as when using the ExecuteNonQuery method, FieldCount returns -1. 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