Question About Saving Image on Database

tresehulyo

Member
Joined
Sep 1, 2009
Messages
16
Programming Experience
Beginner
can you explain the param "@Photo" is that should be equal to the column where you will attach the image

other source is using @Image , @Picture

im very confused pls help

VB.NET:
Dim mypar As New OleDbParameter("@Photo", OleDbType.LongVarBinary)
            mypar.Value = arbyte
            mypar.Size = arbyte.Length
            cmd.Parameters.Add(mypar)
 
Back
Top