i dont know how u can populate one gridview in another gridview.
but once i needed populate one gridview into repeater.
my code was:
<asp:Repeater ID="Repeater1" runat="server">
<ItemTemplate>
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
DataSource='<%# Eval("ListOfSubitens") %>'>
<Columns>...</Columns>
</asp:GridView>
</ItemTemplate>
</asp:Repeater>
I think if u create a template column with a gridview using the "Eval" in
datasource, u get what u want.
Hope this helps!
---
Wladiston MaurĂcio de Paiva
[email protected]
+55 (31) 9635-4321
2011/2/24 Stephen Russell <[email protected]>
> On Thu, Feb 24, 2011 at 3:24 AM, Puspanjali Jena
> <[email protected]> wrote:
> > How u populate one gridview into another gridview in asp.net?
> ------------------
> Extract out the data into a dataVIEW from gridview1 and use that as a
> datasource in gv2
>
> Now why would you want to do that?
>
>
>
> --
> Stephen Russell
>
> Sr. Production Systems Programmer
> CIMSgts
>
> 901.246-0159 cell
>