Export (0) Print
Expand All

SqlDataReader.GetDataTypeName Method

Gets the name of the source data type.

[Visual Basic]
Public Overridable Function GetDataTypeName( _
   ByVal i As Integer _
) As String Implements IDataRecord.GetDataTypeName
[C#]
public virtual string GetDataTypeName(
 int i
);
[C++]
public: virtual String* GetDataTypeName(
 int i
);
[JScript]
public function GetDataTypeName(
   i : int
) : String;

Parameters

i
The zero-based column ordinal.

Return Value

The name of the back-end data type.

Implements

IDataRecord.GetDataTypeName

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

SqlDataReader Class | SqlDataReader Members | System.Data.SqlClient Namespace

Show:
© 2014 Microsoft