c# - How can i add image when i want to respone page in asp.net? -


i want write simple web application wirite data asp.net respone , show line simple image,i create image dynamically code:

image myimage = new image(); myimage.width = 50; myimage.height = 50; myimage.imageurl = "direction_arrow_green_down.png"; this.controls.add(myimage); 


, write simple respone code:

 response.write("<br/>"+ "sample"); 


want write this:

response.write("<br/>"+ "sample"+myimage); 


want somthing this:
enter image description here
how can solve that?thanks.

why cant try ?

 string img = "<img src='https://cdn3.iconfinder.com/data/icons/simple-web-navigation/165/tick-128.png' width='128' height='128'>";         response.write("<br/>" + "sample" + img); ; 

Comments

Popular posts from this blog

dns - How To Use Custom Nameserver On Free Cloudflare? -

python - Pygame screen.blit not working -

c# - Web API response xml language -