I want to import nested gridviews to worksheet, but it only imports the parent gridview:
<asp:GridView ID=“gvParent” runat=“server” AutoGenerateColumns=“False” ShowHeader=“False”>
<asp:BoundField DataField=“ID” HeaderText=“ID”></asp:BoundField>
<asp:GridView ID=“gvChild” runat=“server” Width=“100%” AutoGenerateColumns=“False” ShowHeader=“False”
DataSource=‘<%# GetChildRelation(Container.DataItem,“rlCounty”) %>’>
<asp:BoundField DataField=“County” HeaderText=“County”></asp:BoundField>
<asp:BoundField DataField=“Name” HeaderText=“Name”></asp:BoundField>
</asp:GridView>
</asp:TemplateField>
</asp:GridView>
vb.net:
workbook.Worksheets(0).Cells.ImportGridView(gvParent, 8, 0, ImportOptions)