G
Guest
Hi,
I created a group of user controls in an aspx form.
which is as follow:
<body>
<form id="Form1" method="post" runat="server">
<SUBWAYEOPLEINFO id="Peopleinfo0" runat="server" Caption="Dependent
Information"></SUBWAYEOPLEINFO>
<p></p>
<SUBWAYEOPLEINFO id="Peopleinfo1" runat="server" Caption="Dependent
Information"></SUBWAYEOPLEINFO>
<p></p>
<SUBWAYEOPLEINFO id="Peopleinfo2" runat="server" Caption="Dependent
Information"></SUBWAYEOPLEINFO>
<p></p>
<SUBWAYEOPLEINFO id="Peopleinfo3" runat="server" Caption="Dependent
Information"></SUBWAYEOPLEINFO>
<p></p>
<SUBWAYEOPLEINFO id="Peopleinfo4" runat="server" Caption="Dependent
Information"></SUBWAYEOPLEINFO>
<p></p>
<SUBWAYEOPLEINFO id="Peopleinfo5" runat="server" Caption="Dependent
Information"></SUBWAYEOPLEINFO>
<p><asp:label id="Label1" style="Z-INDEX: 150; LEFT: 80px; POSITION:
absolute; TOP: 450px" runat="server">label</asp:label><asp:button
id="Submit1" style="Z-INDEX: 102; LEFT: 72px; POSITION: absolute; TOP: 420px"
onclick="button_click"
runat="server" Text="Submit"></asp:button></p>
</form>
</body>
But I don't know how to write efficient codes to collect data from this
group of user controls, maybe I created in a very silly way, can you give me
a hint?
Thanks.
I created a group of user controls in an aspx form.
which is as follow:
<body>
<form id="Form1" method="post" runat="server">
<SUBWAYEOPLEINFO id="Peopleinfo0" runat="server" Caption="Dependent
Information"></SUBWAYEOPLEINFO>
<p></p>
<SUBWAYEOPLEINFO id="Peopleinfo1" runat="server" Caption="Dependent
Information"></SUBWAYEOPLEINFO>
<p></p>
<SUBWAYEOPLEINFO id="Peopleinfo2" runat="server" Caption="Dependent
Information"></SUBWAYEOPLEINFO>
<p></p>
<SUBWAYEOPLEINFO id="Peopleinfo3" runat="server" Caption="Dependent
Information"></SUBWAYEOPLEINFO>
<p></p>
<SUBWAYEOPLEINFO id="Peopleinfo4" runat="server" Caption="Dependent
Information"></SUBWAYEOPLEINFO>
<p></p>
<SUBWAYEOPLEINFO id="Peopleinfo5" runat="server" Caption="Dependent
Information"></SUBWAYEOPLEINFO>
<p><asp:label id="Label1" style="Z-INDEX: 150; LEFT: 80px; POSITION:
absolute; TOP: 450px" runat="server">label</asp:label><asp:button
id="Submit1" style="Z-INDEX: 102; LEFT: 72px; POSITION: absolute; TOP: 420px"
onclick="button_click"
runat="server" Text="Submit"></asp:button></p>
</form>
</body>
But I don't know how to write efficient codes to collect data from this
group of user controls, maybe I created in a very silly way, can you give me
a hint?
Thanks.