try to put a table like the following in ItemDataBound event handler:
<table border=1><tr><td colspan=2>whatever</td></tr><tr><td>hello</td><td>world</td></tr></table>
protected void DataGrid_OnItemDataBound(object sender, DataGridItemEventArgs e)
    {
      if(e.Item.ItemType == ListItemType.Header)
      {
        LiteralControl  lc = new LiteralControl ("<table border=1><tr><td colspan=2>whatever</td></tr><tr><td>hello</td><td>world</td></tr></table>");
        e.Item.Cells[3].Controls.Add(lc);
      }
    }

解决方案 »

  1.   

    http://www.csdn.net/develop/Read_Article.asp?Id=14114
      

  2.   

    思归的办法:嵌入的table有边界效果不好看,但是无边界又不行,而且这个Table是在嵌在一列中的,这一列如何显示两列的数据呢?
    秋水无恨的办法:当所有的列的都要嵌子列的时候才有用,通常的表格只会有一列到两列才需要嵌套子列的,那怎么办呢?
    请问各位有更好的办法吗?