title: Using Programmatic Images in Nivo SLider with asp.net and c#
body: <p>"Only images or images wrapped in links are allowed in the slider div. Any other HTML will break the slider."</p>
  
  <p>What would be the best way to programatically insert images from a database in c#?
  I was using a label inside the div id="slider" tag but then realized the label would create the images within a span tag and therefore break the slider.</p>
  
  <pre><code>lblSlider.Text += "&lt;img src=\"" + URL + "\" alt=\"" + address + "\" title=\"&lt;a href='Featured/" + address" + address + ", " + city + "&lt;/a&gt;\" /&gt;";
  </code></pre>