Code
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="ProductCatalogID"
DataSourceID="SqlDataSource1" EmptyDataText="没有可显示的数据记录。" ShowHeader="false" OnRowDataBound="GridView1_RowDataBound" >
<Columns>
<asp:TemplateField HeaderText="ProductCatalogID" SortExpression="ProductCatalogID" Visible="false">
<EditItemTemplate>
<asp:Label ID="Label1" runat="server" Text='<%# Eval("ProductCatalogID") %>'></asp:Label>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="LabelProductCatalogID" runat="server" Text='<%# Bind("ProductCatalogID") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="ProductCatalogName" SortExpression="ProductCatalogName">
<EditItemTemplate>
<asp:Label ID="labCatalogName" runat="server" Text='<%# Bind("ProductCatalogName") %>'></asp:Label>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="Label2" runat="server" Text='<%# Bind("ProductCatalogName") %>'></asp:Label>
<table>
<asp:Repeater ID="RepaterDetail" runat="server">
<HeaderTemplate>
<tr><td style="width:200px;">品牌</td><td style="width:80px;">BCMI</td><td style="width:80px;">环比</td><td style="width:80px;">BCPI</td><td style="width:80px;">环比</td><td style="width:50px;"></td></tr>
</HeaderTemplate>
<ItemTemplate>
<tr><td><%#Eval("brandname") %></td><td><%#Eval("bcmi") %></td><td><%#Eval("bcmiPct","{0:F2}") %></td><td><%#Eval("bcpi") %></td><td><%#Eval("bcpiPct","{0:F2}") %></td>
<td><a href="E_BrandObservDetails.aspx?brandname=<%#Server.UrlEncode(DataBinder.Eval(Container.DataItem,"brandname").ToString())%>&bcmi=<%#Eval("bcmi") %>&bcmiPct=<%#Eval("bcmiPct") %>&bcpi=<%#Eval("bcpi") %>&bcpiPct=<%#Eval("bcpiPct") %>" target="_blank">详细</a></td></tr>
</ItemTemplate>
</asp:Repeater>
</table>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="ParentCatalogID" SortExpression="ParentCatalogID" Visible="false">
<EditItemTemplate>
<asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("ParentCatalogID") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="Label3" runat="server" Text='<%# Bind("ParentCatalogID") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="ProductCatalogID"
DataSourceID="SqlDataSource1" EmptyDataText="没有可显示的数据记录。" ShowHeader="false" OnRowDataBound="GridView1_RowDataBound" >
<Columns>
<asp:TemplateField HeaderText="ProductCatalogID" SortExpression="ProductCatalogID" Visible="false">
<EditItemTemplate>
<asp:Label ID="Label1" runat="server" Text='<%# Eval("ProductCatalogID") %>'></asp:Label>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="LabelProductCatalogID" runat="server" Text='<%# Bind("ProductCatalogID") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="ProductCatalogName" SortExpression="ProductCatalogName">
<EditItemTemplate>
<asp:Label ID="labCatalogName" runat="server" Text='<%# Bind("ProductCatalogName") %>'></asp:Label>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="Label2" runat="server" Text='<%# Bind("ProductCatalogName") %>'></asp:Label>
<table>
<asp:Repeater ID="RepaterDetail" runat="server">
<HeaderTemplate>
<tr><td style="width:200px;">品牌</td><td style="width:80px;">BCMI</td><td style="width:80px;">环比</td><td style="width:80px;">BCPI</td><td style="width:80px;">环比</td><td style="width:50px;"></td></tr>
</HeaderTemplate>
<ItemTemplate>
<tr><td><%#Eval("brandname") %></td><td><%#Eval("bcmi") %></td><td><%#Eval("bcmiPct","{0:F2}") %></td><td><%#Eval("bcpi") %></td><td><%#Eval("bcpiPct","{0:F2}") %></td>
<td><a href="E_BrandObservDetails.aspx?brandname=<%#Server.UrlEncode(DataBinder.Eval(Container.DataItem,"brandname").ToString())%>&bcmi=<%#Eval("bcmi") %>&bcmiPct=<%#Eval("bcmiPct") %>&bcpi=<%#Eval("bcpi") %>&bcpiPct=<%#Eval("bcpiPct") %>" target="_blank">详细</a></td></tr>
</ItemTemplate>
</asp:Repeater>
</table>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="ParentCatalogID" SortExpression="ParentCatalogID" Visible="false">
<EditItemTemplate>
<asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("ParentCatalogID") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="Label3" runat="server" Text='<%# Bind("ParentCatalogID") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>