Hello Every One ,
I need Help in inserting the user image in my data base. but
unfortunatly I don't know how.I'm using asp with sql server. I tried to
insert the image and i geuss it worked.for the field in the db in not
null and it have this value <Binary> . but when i try to select it in
gives me this error "An unhandled data type was encountered".
this is my code :
To insert the image
sql="insert into users_img (user_image,use r_id) values
('"&image&"','" &userid&"')"
set rs=conn.Execute (sql)
to Select the image :
sql="select * from users_img where user_id='"&user id&"'"
set rs=conn.Execute (sql)
Response.Conten tType = "image/jpg"
Response.Binary Write rs("adv_image" )
Realy Need Your help
thanx alot
Yours, Maii Ali
*** Sent via Developersdex
http://www.developersdex.com ***