title: How to generate unordered list dynamically in asp.net?
body: <p>I want to generate a unordered list which contains  tag for showing images in my database, I take a look at bulleted list, but it is not working with image. How can i dynamically generate it from the results in a database, for eg, if i have 6 images in data base then i want the list which generates must look like this.</p>
  
  <pre><code>&lt;ul id=""&gt;
  
      &lt;li&gt;&lt;img src="Resources/img14.jpg" alt="" title=""/&gt;&lt;/li&gt;
  
      &lt;li&gt;&lt;img src="Resources/img15.jpg" alt="" title=""/&gt;&lt;/li&gt;
  
      &lt;li&gt;&lt;img src="Resources/img17.jpg" alt="" title=""/&gt;&lt;/li&gt;
  
      &lt;li&gt;&lt;img src="Resources/img2.jpg" alt="" title=""/&gt;&lt;/li&gt;
  
      &lt;li&gt;&lt;img src="Resources/img5.jpg" alt="" title=""/&gt;&lt;/li&gt;
  
      &lt;li&gt;&lt;img src="Resources/img3.jpg" alt="" title=""/&gt;&lt;/li&gt;
  
  &lt;/ul&gt;
  </code></pre>
  
  <p>Table Structure</p>
  
  <pre><code>User Name   nvarchar(50)    
  Pic Path    nvarchar(MAX)
  </code></pre>