adding html elements with in asp.net
<p>i need some help figuring out how to do somthing.</p>

<p>i got this gallery (galleriffic) and some images that are store in Flicker.com so i used the flicker api to get the images but still add them manually to test the gallery.</p>

<p>now im looking for a good way to insert the images to the html afther i get them with the flicker api.</p>

<p>i found this <a href="http://www.dotnetperls.com/htmltextwriter" rel="nofollow">http://www.dotnetperls.com/htmltextwriter</a> and used the function</p>

<blockquote>
  <p>Response.Write(GetDivElements());</p>
</blockquote>

<p>but this adding the div's on the top of the html and not in the body tag.</p>

<p>my qustions is:</p>

<ol>
<li>is HtmlTextWriter writer = new HtmlTextWriter(stringWriter) is a good way to build some html tag in the server side?</li>
</ol>

<p>2.there is better way to add the elements to the html other then Respons.Write(""); ?</p>
