2
Answers

How to assign binary data to image control

Mayur  Gujrathi

Mayur Gujrathi

12y
3.7k
1
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


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
Answers (2)