Adding a button onto each row of a table
<p>I am currently looking for a way to insert a button on each row of a table (please note this is a dynamic table that will change on a regular basis), this button would be used for deleting the row from the table - I have already tried adding a button on each row using this method:</p>

<pre><code>            foreach (string instrument in splitInstrumentList)
            {
                TableRow r = new TableRow();
                r.Cells.Add(new TableCell());
                Button deleteButton = new Button();

                string instrumentString = instrument.ToString();

                if (instrumentString.Contains(","))
                {
                    instrumentString.Replace(",", string.Empty);
                }

                if (instrumentString.Length &gt; 0 &amp;&amp; string.IsNullOrEmpty(instrumentString))
                {
                    r.Cells[0].Text = instrumentString;

                    this.instrumentTable.Rows.Add(r);
                    deleteButton.ID = "deleteButton";
                    deleteButton.Text = "Delete";
                    instrumentTable.Controls.Add(deleteButton);

                }
            }
</code></pre>

<p>However I can not do this due to the fact Table can't use the child type Button which I should of realised anyway..</p>
