View Single Post
  #1 (permalink)  
Old July 11th, 2003, 10:27 AM
DittoToo DittoToo is offline
Registered User
 
Join Date: Jun 2003
Location: , , .
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Getting Bit value from datareader.

I have this function:

Code:
Public Function CheckNullReturnBolean(ByRef oRead as SqlDataReader, ByVal i as Short) as Boolean

    If oRead.IsDBNull(i) then
        Return vbNull
    Else
        Return oRead.GetDataType(i)
    End If

End Function
The value in the reader is a bit field. What Get data reader method would I use to pull out this value?

Thanks,

Jerry
Reply With Quote