Define Control ID (TBody)

  • Thread starter Thread starter shapper
  • Start date Start date
S

shapper

Hello,

I am creating a table at runtime. How can define the table's TBody ID?

I need to get something as follows:

<tbody id="itemContainer" runat="server"></tbody>

Thanks,
Miguel
 
dim body as new htmlgenericcontrol
body.id = "itemContainer"
myTable.Controls.AddAt(body,0)

im not sure, something like that
 
Back
Top