ancy chacko

ancy chacko

  • NA
  • 71
  • 18.4k

Download image

Sep 28 2015 4:06 AM
 
 How can i download images using html  in asp.net.
 
Here is my sample code:
 
StringBuilder strBuilder = new StringBuilder();

strBuilder.Append("<img src='551.png' alt='' border='3' height='100' width='100'></img>");
strBuilder.Append("<table align='left' border='1' style='margin-left:0px; margin-top:0px' >".ToString());
strBuilder.Append("<tr>".ToString());

strBuilder.Append("<td colspan='2' style='width:100px;color:black'></td>".ToString());
strBuilder.Append("<td colspan='2' style='width:280px;color:black'><B>Hi</B><br/>" + Label13.Text + "</td>".ToString());
strBuilder.Append("</tr>".ToString());
 
strBuilder.Append("</table>".ToString());

Answers (4)