I will be pleased if you can show me how you can insert Images in to Sql Server with VB
This is how I did it but could not work:
mycommand.commandtext = "INSERT INTO student_master" & _
" ( st_picture, st_signature)" & _
" values ( @picture1, @picture2)" & _
" where student_id = @stu_id"
mycommand.parameters.add( "@picture1", picturebox1.image)
mycommand.parameters.add( "@picture2", picturebox2.image)
mycommand.parameters.add( "@stud_id", txtstudent_id.text)
I also tried EXEC SP_tableoption student_master, 'txt In row', 'ON'
on the table and executed the above code again; but did not work
Adamu Sufi, Nigeria