Connexion
France (Français)
Brasil (Português)
Česká republika (Čeština)
Deutschland (Deutsch)
España (Español)
Italia (Italiano)
United States (English)
Россия (Русский)
대한민국 (한국어)
中华人民共和国 (中文)
台灣 (中文)
日本 (日本語)
香港特别行政區 (中文)
Accueil
Library
Formation
Téléchargements
Support technique
Communautés
Forums
Le réseau pour les développeurs
>
Forums - Accueil
>
Visual C# General
>
C# and mysql bool problem!
Poser une question
Rechercher dans les forums :
Rechercher dans le forum Visual C# General
Rechercher dans tous les forums MSDN
C# and mysql bool problem!
samedi 7 novembre 2009 16:37
BrunoZP
0
Connectez-vous pour voter
Hi,
I'm using a GridView with autogenerated columns, but it's not displaying a checkbox in a int with 1 length field...
Is there a type that I can use as boolean in mysql, so the GridView display it correctly ?
Thanks
http://BrunoZP.com.br || http://BrunoZP.com
Réponse
Citation
Réponses
dimanche 8 novembre 2009 04:26
yazeem
0
Connectez-vous pour voter
In MySQL, BOOL or BOOLEAN are synonyms for TINYINT(1).
http://dev.mysql.com/doc/refman/5.0/en/numeric-type-overview.html
http://usernamedenied.wordpress.com/2008/05/15/mysql-and-the-bool-data-type/
use this datatype.
Proposé comme réponse
raihansazal
dimanche 8 novembre 2009 08:15
Marqué comme réponse
BrunoZP
dimanche 8 novembre 2009 12:56
Réponse
Citation
Toutes les réponses
dimanche 8 novembre 2009 04:26
yazeem
0
Connectez-vous pour voter
In MySQL, BOOL or BOOLEAN are synonyms for TINYINT(1).
http://dev.mysql.com/doc/refman/5.0/en/numeric-type-overview.html
http://usernamedenied.wordpress.com/2008/05/15/mysql-and-the-bool-data-type/
use this datatype.
Proposé comme réponse
raihansazal
dimanche 8 novembre 2009 08:15
Marqué comme réponse
BrunoZP
dimanche 8 novembre 2009 12:56
Réponse
Citation
Besoin d'aide sur les forums ? (Forum aux questions)
© 2009 Microsoft Corporation. Tous droits réservés.
Gérer votre profil
|
Contactez-nous
|
Newsletter MSDN
|
Conditions d'utilisation
|
Marques
|
Confidentialité