title: How to add direct HTML tags in web page with C# with response.write and read from table in sql and show between table tags as tables data?
body: <p>is there any other ways?</p>
  
  <p>here are my desired code in between of my HTML tags.</p>
  
  <p>I <strong>don't</strong> want to use objects like <strong>Panel</strong> or <strong>Gridview</strong> or etc.
  but I want to scripted in my code by using HTML
  and connect to SQL server database table named "Quicklunch_menu"</p>
  
  <pre><code>&lt;DIV id=sidebar&gt;
  
  &lt;UL class=menu&gt;
    &lt;LI&gt;&lt;A href="http://mesbahsoft.com/"&gt;Main Menu&lt;/A&gt;&lt;/LI&gt;
    &lt;LI&gt;&lt;A href="http://mesbahsoft.com/products/"&gt;Products&lt;/A&gt;&lt;/LI&gt;
    &lt;LI&gt;&lt;A href="http://mesbahsoft.com/pages/about"&gt;About us&lt;/A&gt;&lt;/LI&gt;
    &lt;LI&gt;&lt;A href="http://mesbahsoft.com/pages/contact"&gt;Contact us&lt;/A&gt;&lt;/LI&gt;
    &lt;LI&gt;&lt;A href="http://mesbahsoft.com/tracking/"&gt;Ask Question&lt;/A&gt;&lt;/LI&gt;
    &lt;LI&gt;&lt;A href="http://mesbahsoft.com/news/"&gt;News&lt;/A&gt;&lt;/LI&gt;
      &lt;/UL&gt;
  &lt;DIV class=basket-head&gt;
  </code></pre>
  
  <p>i want to read links and titles from table that these data exist in there (TABLE)
  i write only this sample code to direct write to page
  that i guess doesn't right way</p>
  
  <pre><code>  &lt;% 
  
      Response.Write("&lt;table&gt;")
        For i As Integer = 1 To 4 Step 1
            Response.Write("&lt;tr&gt;")
            For j As Integer = 1 To 4 Step 1
                Response.Write("&lt;tr&gt;" + "@" + "&lt;/tr&gt;")
                Response.Write("&lt;/tr&gt;")
            Next
        Next
  
      Response.Write("&lt;/table&gt;")
    %&gt;
  &lt;%@ Import Namespace="System.Data" %&gt;
  
   &lt;asp:SqlDataSource ID="SqlDataSource1" runat="server" 
          ConnectionString="&lt;%$ ConnectionStrings:cbtclips_irConnectionString %&gt;" 
          SelectCommand="SELECT  Quicklunch_menu.* FROM Quicklunch_menu"&gt;
      &lt;/asp:SqlDataSource&gt;
  
  
      &lt;asp:View runat="server"&gt; 
      &lt;/asp:View&gt;
  
  &lt;% 
  </code></pre>