0
<asp:Repeater id="rptExcelField" runat="server">
<HeaderTemplate>
<table style="width:100%;" id="mainTable">
</HeaderTemplate>
<ItemTemplate>
<tr>
<td class="style1">
<asp:Label ID="lblField" runat="server" Text="Polje:" CssClass="textType"></asp:Label>
</td>
<td class="style2">
<asp:TextBox ID="txtField" runat="server" Width="436px" MaxLength="45"
CssClass="inputType"></asp:TextBox>
<asp:DropDownList ID="ddlInputType" runat="server" oninit="ddlInputType_Init"
AutoPostBack="True"
onselectedindexchanged="ddlInputType_SelectedIndexChanged">
</asp:DropDownList>
</td>
<td class="style3">
<asp:RequiredFieldValidator ID="rfvName" runat="server" ControlToValidate="txtName"
ErrorMessage="*" CssClass="validator"></asp:RequiredFieldValidator>
</td>
</tr>
</ItemTemplate>
<FooterTemplate>
</table>
</FooterTemplate>
如何使用中繼器重複10次相同的代碼?
需要更多的解釋,它的代碼是你想重複? – jpabluz 2010-02-16 20:52:17