datatype mapping
-
Good day to all, Why tinyint(3) of mysql is treated as sbyte in .net(c#). I cant find any official datatype mapping for .net and mysql out there.
-
Good day to all, Why tinyint(3) of mysql is treated as sbyte in .net(c#). I cant find any official datatype mapping for .net and mysql out there.
-
sorry but still dont get it. example: var t = typeof(reader[0]); the "t" is a type of sbyte, i was expecting it to be int or short. could be the value matter also? BTW i dont use (example: reader[0].toInt()) for a purpose.
-
sorry but still dont get it. example: var t = typeof(reader[0]); the "t" is a type of sbyte, i was expecting it to be int or short. could be the value matter also? BTW i dont use (example: reader[0].toInt()) for a purpose.
The link I gave you shows the mapping:
tinyint
maps to a single byte which, in computer memory, is a signed byte. This allows you to promote it to an integer without the necessity of any data conversion. Explained in slightly more detail at http://dev.mysql.com/doc/refman/5.1/en/integer-types.html[^]. -
The link I gave you shows the mapping:
tinyint
maps to a single byte which, in computer memory, is a signed byte. This allows you to promote it to an integer without the necessity of any data conversion. Explained in slightly more detail at http://dev.mysql.com/doc/refman/5.1/en/integer-types.html[^].ohh thank you so much, now i understand it.