For adding control in table you can do somthing like this In HTML
<table id="test" runat="server">
and in code behind>.For Example i am adding text box in table
TextBox text = new TextBox();
test.Controls.Add(text);
And just for adding item in dropdown you can do somthing like this
''' adds a row to a drop down menu. In old code line no 62 to 78
'''
''' <param name="dropDown"></param>
''' <param name="text"></param>
''' <param name="value"></param>
''' <remarks></remarks>
Sub addDropDownItem(ByVal dropDown As DropDownList, ByVal text As String, ByVal value As String)
Dim dropDownItem As New ListItem
dropDownItem.Text = text.ToString()
dropDownItem.Value = value.ToString()
dropDown.Items.Add(dropDownItem)
dropDown.DataBind()
End Sub