asp.net
  • repeater
  • findcontrol
  • 2011-03-29 32 views 0 likes 
    0

    讓我們假設sample.aspx是一個頁面 此頁面contails以下直放站如何獲得從codebehind端放置在repeater控件中的checkboxid?

    <asp:Repeater ID="Repeater1" runat="server"> 
    <ItemTemplate> 
        <tr><td> 
        <asp:CheckBox ID="CheckBox1" runat="server" Text='<%# container.dataitem("CUISINENAME")%>' /> 
        </td></tr>  
    </ItemTemplate>      
    </asp:Repeater> 
    

    我的問題是「,而點擊服務器端提交按鈕,0​​我一定要找到它置於其內的checkboxid直放站控制 任何人都可以幫忙關於此?

    回答

    1
    相關問題