asp.net.ph

SqlDataReader.Item Property ( Int32 )

System.Data.SqlClient Namespace   SqlDataReader Class


Returns the value of the specified column in its native format given the column ordinal.

In [ C# ], this property is the indexer for the SqlDataReader class.

[ VB ]
Overloads NotOverridable Public Default ReadOnly Property Item ( _
   ByVal index As Integer _
) As Object

[ C# ]
public object this [ 
   int index
 ] {get;}

[ C++ ]
public: __property __sealed Object* get_Item (
   int index
);

[ JScript ]
returnValue = SqlDataReaderObject.Item ( index );
-or-
returnValue = SqlDataReaderObject ( index );

Parameters

index
The zero-based column ordinal.

Property Value

The value at the specified column in its native format.

See Also

SqlDataReader Members   SqlDataReader.Item Overload List Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 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 asp.net.ph