Click here to Skip to main content
15,889,266 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have varbinary(max) column in database
and i am saving image in it and also trying to display as following
but it is covering full page
VB
Dim img1 As Byte() = Nothing
img1 = DirectCast(clsdb.Objdatareader.Item(0), Byte())
Response.BinaryWrite(img1)

I want to assign it to image control or display it in fix place or add to place holder
Posted
Updated 13-Jan-12 1:16am
v2

1 solution

 
Share this answer
 
Comments
mayur csharp G 13-Jan-12 7:49am    
dear can you please say me how to assign return value of that funtion to image control or display it in place holder

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900