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:

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

    If oRead.IsDBNull(i) then
        Return vbNull
        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?


Reply With Quote