That's not going to work. You're trying to put a
<th>
and a
<tr>
inside another
<th>
, which is invalid markup.
You could write your own
GridView
control to add a new header row:
http://blogs.msdn.com/b/mattdotson/archive/2006/03/01/real-world-gridview-two-headed-grouping-gridviews.aspx[
^]
You could try setting
the Caption
property[
^], and add any necessary styling to make it look like what you want.
Or, if all else fails, you could switch to
the ListView
control[
^], which gives you much better control over the generated markup.