Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Boolean across technologies
Message
De
26/02/2008 22:35:49
 
 
À
26/02/2008 15:15:17
Information générale
Forum:
ASP.NET
Catégorie:
Bases de données
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01294595
Message ID:
01296713
Vues:
11
Sorry Michel ... I'm still trying to catch up on posts since being out of town for several days last week ... and I missed seeing your other post until after I replied to this one.

As you have seen, a bit data type in SQL Server is treated as a boolean data type in Visual Studio.

~~Bonnie



>>If your SQL database is using a bit, you can still pass an integer for the boolean value. And, as long as it is not something greater than 1, it works fine. So there is no need to do any conversion.
>
>Yes, as you probably have seen in my other reply.
>
>But, this also related to the way we handle the SQL query, as I also mentioned. I was surprise to see that we can still have VB.NET code using a boolean approach to deal with Bit field or Numeric(1,0) field in a datarow.
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform