<asp:Repeater ID="Category" runat="server" DataSourceID="SQLDataSourceBenefitCategory" >
<ItemTemplate>
<li>
<asp:CheckBox ID = "filterid"+'<%# DataBinder.Eval(Container.DataItem,"ClientBenefitSectionheadingID","filterID{0}" ) %>' runat="server" value='<%# DataBinder.Eval(Container.DataItem,"ClientBenefitSectionheadingID","bencat{0}" ) %>' class = "dynamicFilterInput" AutoPostBack="True" Checked="True" />
</li>
</ItemTemplate>
您好,
我有上面的代码我希望我的复选框具有ID =“filter”+ db的值。当我尝试从每个代码上面的db获取值时,我得到错误。任何人都可以告诉我最好的方法吗?
由于