<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ReptrinsidReptr.aspx.cs" Inherits="Mystuff.Controls.ReptrinsidReptr" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> </head> <body> <form id="form1" runat="server"> <asp:Repeater ID="Repeater1" runat="server" OnItemDataBound="Repeater1_ItemDataBound"> <HeaderTemplate> <div style="background:Yellow"> <asp:Label ID="Label1" runat="server" Text="Name" Width="32%" ForeColor="Fuchsia"></asp:Label> <asp:Label ID="Label2" runat="server" Text="Designation" Width="32%" ForeColor="Fuchsia"></asp:Label> <asp:Label ID="Label3" runat="server" Text="Location" Width="32%" ForeColor="Fuchsia"></asp:Label> </div> </HeaderTemplate> <ItemTemplate> <div style="background:Yellow"> <asp:TextBox ID="Label4" runat="server" Text='<%#Eval("Name") %>' Width="32%" BackColor="Cyan"></asp:TextBox> <asp:TextBox ID="Label5" runat="server" Text='<%#Eval("Designation") %>' Width="32%" BackColor="Cyan"></asp:TextBox> <asp:TextBox ID="Label6" runat="server" Text='<%#Eval("Location") %>' Width="32%" BackColor="Cyan"></asp:TextBox> </div> <asp:Repeater ID="Repeater2" runat="server" > <HeaderTemplate> <div style="background:Red"> <asp:Label ID="Label4" runat="server" Text="Employee" Width="32%"></asp:Label> <asp:Label ID="Label5" runat="server" Text="Position" Width="32%"></asp:Label> <asp:Label ID="Label6" runat="server" Text="City" Width="32%"></asp:Label> </div> </HeaderTemplate> <ItemTemplate> <div style="background:Yellow"> <asp:TextBox ID="TextBox4" runat="server" Text='<%#Eval("Employee") %>' Width="32%"></asp:TextBox> <asp:TextBox ID="TextBox5" runat="server" Text='<%#Eval("Position") %>' Width="32%"></asp:TextBox> <asp:TextBox ID="TextBox6" runat="server" Text='<%#Eval("City") %>' Width="32%"></asp:TextBox> </div> </ItemTemplate> </asp:Repeater> </ItemTemplate> </asp:Repeater> </form> </body> </html>