title: How to populate dataset value in table row?
body: <p>I have a function of <code>Bind_Project_details()</code> which is as follows:</p>
  
  <pre><code>string[] Parameters = new string[3] { "@User_ID", "@PAGE_NO", "@PAGE_SIZE" };
          string[] DbTypes = new string[3] { "int","int","int" };
          string[] ParameterTypes = new string[3] { "input", "input", "input" };
          object[] values = new object[3] { iUserID, pageno, pagesize };
          string[] Lengths = new string[3] { "5","5","5" };
  
          P2ERefrence.Service du = new P2ERefrence.Service();
  
          ds = du.returnDataSet("proc", "BIND_PROJECT_GRID", Parameters, DbTypes, ParameterTypes, values, Lengths);
  </code></pre>
  
  <p>In a dataset Project, details comes from database. I want to bind these dataset values in table body as follows:</p>
  
  <pre><code>&lt;table id="table1" class="display" cellspacing="0" width="100%"&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;&lt;input type="checkbox" id="" name=""&gt;&lt;/th&gt;
              &lt;th&gt;User&lt;/th&gt;
              &lt;th&gt;Role&lt;/th&gt;
              &lt;th&gt;Project Name&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
  
      &lt;tbody&gt;
      .........
      .........
      .........
      &lt;/tbody&gt;
  
  &lt;/table&gt;
  </code></pre>