title: Inserting DropDownList in a TableCell
body: <pre class="lang-cs prettyprint-override"><code>while (reader.Read())
  {
      TableRow r = new TableRow();
      TableCell c = new TableCell();
  
      c.Controls.Add(new LiteralControl(reader["Name"].ToString()));
      r.Cells.Add(c);
      Table1.Rows.Add(r);
  
      TableCell c1 = new TableCell();
  
      c1.Controls.Add(new LiteralControl(reader["RollID"].ToString()));
      r.Cells.Add(c1);
      Table1.Rows.Add(r);
  
  }
  </code></pre>
  
  <p>i want to add another cell with a dropdownlist for every row.Could any one sort me out with this issue?</p>