OdbcTypeConverter() public static method

public static OdbcTypeConverter ( string dbType ) : ColumnType
dbType string
return ColumnType
Exemplo n.º 1
0
        static public ColumnType ODBCToNetTypeConverter(string odbcType)
        {
            ColumnType result = ColumnType.Text;

            try
            {
                result = Helper.OdbcTypeConverter(odbcType);
            }
            catch { }
            return(result);
        }
Exemplo n.º 2
0
        static public ColumnType ODBCToNetTypeConverter(string odbcType)
        {
            ColumnType result = ColumnType.Text;

            try
            {
                result = Helper.OdbcTypeConverter(odbcType);
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.Message);
            }
            return(result);
        }