I want to bind gridview which is inside a repeater. My code is
<asp:Repeater ID="rep_UnAssignComps" runat="server">
<ItemTemplate>
<asp:GridView ID="rep_DataSimilarToBacthid" runat="server" Style="text-align: center;
width: 375px;" AutoGenerateColumns="false">
<Columns>
<asp:BoundField HeaderText="Test" DataField="Test" />
</Columns>
</asp:GridView>
</ItemTemplate>
</asp:Repeater>
you have to fire repeater’s ItemDataBound event. In which you have to find gridview then bind it as following:-