---------------------------------------------------------------------------------------------------
*DropDownList使用*
前台:
<asp:DropDownList >
 <asp:ListItem Value=0>Insert</asp:ListItem>
 <asp:ListItem Value=1>Delete</asp:ListItem>
 </asp:DropDownList>
后台:
if(OpMenu.SelectedIndex==1)//如果选中第2个项目
  DeleteDB();
---------------------------------------------------------------------------------------------------

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-01
  • 2022-01-17
  • 2021-08-06
猜你喜欢
  • 2021-06-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-20
  • 2021-08-06
  • 2022-12-23
相关资源
相似解决方案