日期:2014-05-17 浏览次数:20459 次
<asp:DataList ID="DataList1" runat="server"
onitemdatabound="DataList1_ItemDataBound"><ItemTemplate>
<asp:Repeater ID="Repeater1" runat="server">
<ItemTemplate>
<select id="perNature<%#Repeater1.Items.Count.ToString()%>" name="perNature">
<option selected="selected" value="">----请选择----</option>
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
<option >6</option>
</select>
</ItemTemplate>
</asp:Repeater>
</ItemTemplate>
</asp:DataList>
<select id='perNature<%=Repeater1.Items.Count.ToString()%>'>