Adding an image to a placeholder dynamically

question42

New member
Joined
Feb 20, 2006
Messages
2
Programming Experience
1-3
I am new to asp.net and I am trying to read in a binary image and add it to a placeholder.
Using
Response.OutputStream.Write
works, but does not put it where I want on the screen. How can I add it to a placeholder?
 
Try this, add a placeholder on to the page then in code behind:

PlaceHolder1.Controls.Add(control_name)
 
Back
Top