you can't do that...this isn't a limitation of ASP.Net, it's a limitation of
HTTP. Images must be served in a separate HTTP response - you can't package
normal html/text with binary data - it just don't work that way. What you
need to do is:
<table>
<tr>
<td>Some Text</td>
<td><asp:SomeASPNet.../></td>
<td><img src="dynamicImage.aspx"></td>
</tr>
</table>
When the browser sees an <img tag it does a new request for the resource
(dynamicImage.aspx). If dynamicImage.aspx returns binary data with the
right content-type (as was suggested, everything works).
Please refrain from posting the same question 3 times while at the same time
baiting people into helping you by saying if it can't be done than ASP.net
sucks....especially when it's your own lack of understanding which is the
bottleneck.
Karl
--
MY ASP.Net tutorials
http://www.openmymind.net/
"pei_world" <pe*******@hotmail.com> wrote in message
news:ue**************@tk2msftngp13.phx.gbl...
yes, I can display it. but I have a table with other content as well, I
just want this image to be display in one of the cell in that table, not only
display the image.
"pei_world" <pe*******@hotmail.com> wrote in message
news:OJ**************@TK2MSFTNGP09.phx.gbl... in asp or php, we can use inner output command to print out text or
other thing inside out web page.
I want to know how to do this in asp.net.
I know user control with placesholder can do, but if I want to generate
a image and output to client directly, then I cann't set the imageurl. I
want to know if there is anyway that I can display this image to user in
some place of my web page.
thanks