Skip navigation links

MySQL Forums :: .NET :: stop visual studio casting tinyint to boolean


Advanced Search

stop visual studio casting tinyint to boolean
Posted by: David Hills ()
Date: November 03, 2009 07:09AM

Good Morning

I have a mysql table with tinyint (vales like 5,6 ,9)

when I use the .net connector 6.2.0 in Visual studio the data comes thru as a boolean.

if I set the datatype to integer , I only get 1 or 0 (6=1 , 7=1 etc)

is there something you can set in the mysql .net provider that stops the casting.


thanks


David Hills

Options: ReplyQuote


Subject Written By Posted
stop visual studio casting tinyint to boolean David Hills 11/03/2009 07:09AM


Sorry, only registered users may post in this forum.