Parameter.ConvertTypeCodeToDbType(TypeCode) Method     
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
 static System::Data::DbType ConvertTypeCodeToDbType(TypeCode typeCode);public static System.Data.DbType ConvertTypeCodeToDbType(TypeCode typeCode);static member ConvertTypeCodeToDbType : TypeCode -> System.Data.DbTypePublic Shared Function ConvertTypeCodeToDbType (typeCode As TypeCode) As DbTypeParameters
Returns
A DbType value that is equivalent to the specified TypeCode value.
Remarks
This method returns an Object instance if no equivalent is found. Types without equivalent database types include DBNull and Empty.