System.Data.SqlClient Namespace SqlDataReader Class
Returns the value at the specified column in its native format.
[ VB ]
NotOverridable Public Sub GetValue ( _
ByVal index As Integer, _
ByRef value As Object _
)
[ C# ]
void GetValue (
int index,
ref object value
);
[ C++ ]
public: __sealed void GetValue (
int index,
Object** value
);
[ JScript ]
public function GetValue (
index : int,
value : Object
);
- index
- The zero-based column ordinal.
- value
- The value to return.
GetValue returns data using the .NET Framework types.
Call IsDBNull to check for null values before calling this method.
SqlDataReader Members