How to retrieve varbinary data from sql to vb.net as image

Discussion in 'Visual Basic ( VB )' started by Plutocracy, Nov 10, 2011.

  1. Plutocracy

    Plutocracy New Member

    Joined:
    Nov 10, 2011
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    I've saved images into my sql server 2008 database as varbinary and as i try retrieving the data from the database using datareader, it is giving me error ie(system.byte[]). Somebody help me solve this problem in vb.net.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice