Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Boolean across technologies
Message
From
26/02/2008 22:35:49
 
 
To
26/02/2008 15:15:17
General information
Forum:
ASP.NET
Category:
Databases
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01294595
Message ID:
01296713
Views:
10
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
Previous
Reply
Map
View

Click here to load this message in the networking platform