TMD简单:使用 html的input

 <asp:Repeater >
        <ItemTemplate>
         <li class="Single">
         <input type="radio" ]%>' />
         <input type="hidden" value='<%# ((DataRowView)Container.DataItem)["name"]%>' />
          <%# ((DataRowView)Container.DataItem)["title"]%>
         </li>
        </ItemTemplate>
        </asp:Repeater>

 

获取选得的值:

Id = Request["Riadio1"].ToString();
  name1= Request["name"].ToString();

相关文章:

  • 2022-12-23
  • 2021-09-26
  • 2021-11-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-06
  • 2021-11-24
猜你喜欢
  • 2022-03-08
  • 2022-12-23
  • 2022-12-23
  • 2021-12-24
  • 2021-09-14
  • 2021-05-22
  • 2022-12-23
相关资源
相似解决方案