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);
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
Post a Comment