How to give and bind value to gridview inside another gridview on click on first gridview row using bootstrap collapse?
DataSet ds=sql.getds("select distinct (taskid),task_title,description from task where taskuser_id='" + Session["iduser"] + "' ");
grdalloted.DataSource = ds;
grdalloted.DataBind();
grdallotedUser.DataSource=sql.getds("select userid from task where taskid=
<asp:GridView ID="grdalloted" runat="server" Width="100%" AutoGenerateColumns="false" GridLines="None">
<Columns>
<asp:TemplateField>
<ItemTemplate>
<div class="box-body no-padding">
<div class="mailbox-controls">
<div class="table-responsive mailbox-messages">
<table class="table table-hover table-striped">
<tbody>
<tr>
<td class="mailbox-name">
<button type="button" class="btn btn-info" data-toggle="collapse" data-target="#demo<%# Eval("taskid") %>"><%# Eval("task_title") %>'</button>
<div id="demo<%# Eval("taskid") %>" class="collapse">
<%# Eval("task_title") %>'
<asp:GridView ID="grdallotedUser" runat="server">
</asp:GridView>
</div>
</td>
<td class="mailbox-subject">
<asp:TextBox ID="TextBox2" runat="server" Width="320px" Height="20px" ReadOnly="true" BorderStyle="None" BackColor="#f9f9f9" Text='<%# Eval("description") %>'></asp:TextBox>
</td>
</tbody>
</table>
<!-- /.table -->
</div>
<!-- /.mail-box-messages -->
</div>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>