title: ASP NET SQL - for each row create a new div
body: <p>Looking for a solution to create a new div with its content for each row in SQL Server database table:</p>
  
  <pre><code>Dim com As SqlCommand = New SqlCommand("select Date,Title,Content from Log where Author = @Author", con)
  com.Parameters.Add("@Author", SqlDbType.Char)
  com.Parameters("@Author").Value = User.Identity.Name
  
  Dim dt As DataTable = New DataTable()
  
  For Each Datarow In dt.Rows
         //create New div with its content
  Next
  </code></pre>
  
  <p>This one is working, but can't get it to create a new div/table with its content yet.</p>
  
  <p>Appreciate any help.</p>