The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
SqlDataReader::GetDataTypeName Method (Int32)
.NET Framework (current version)
Gets a string representing the data type of the specified column.
Assembly: System.Data (in System.Data.dll)
Parameters
- i
-
Type:
System::Int32
The zero-based ordinal position of the column to find.
Returns the name of the back-end data type.
numeric is a synonym in SQL Server for the decimal data type. GetDataTypeName will return "decimal" for a column defined as either decimal or numeric.
.NET Framework
Available since 1.1
Available since 1.1
Show: