I have a field in a SQL Server table th开发者_如何学Cat is of type bit
.
When I try to use a Boolean
in VB.NET
when passing parameters to a stored procedure, there are never any matches. I have also tried passing an integer to the stored procedure and that does not work either.
have a look at this table:
http://msdn.microsoft.com/en-us/library/ms131092.aspx
How about
SqlDbType.Bit
System.Data.SqlTypes.SqlBoolean
精彩评论