KevinDeus
KevinDeus

Reputation: 12178

How do you add a THEAD to an ASP (2.0) HTMLTable?

to Add rows, I just do this:

Table1.Rows.Add(row)

How would I add a thead?

Upvotes: 2

Views: 687

Answers (1)

KevinDeus
KevinDeus

Reputation: 12178

uh oh.. just foind it..

A complex table model is not supported. You cannot have an HtmlTable control with nested , , , , , or elements. These elements are removed without warning and do not appear in the output HTML. An exception will be thrown if you attempt to programmatically add these table model elements to the Control.Controls collection of the HtmlTable control.

link text

Upvotes: 3

Related Questions