Accessing binary(16) field in SQL query

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Kebojax
    New Member
    • Apr 2012
    • 1

    Accessing binary(16) field in SQL query

    I'm trying to read in a field from a microsoft SQL database that in in the format binary(16) and then compare it to a string entered by the user. I found routines to convert between strings and a binary array, but am unable to access the field in VB NET 2008. When i display the field.tostring, it shows 'System.Byte[]'. How can I access the byte array in the field and compare it to what was entered by the user. Thanks.
Working...