黄色电影一区二区,韩国少妇自慰A片免费看,精品人妻少妇一级毛片免费蜜桃AV按摩师 ,超碰 香蕉

ASP.NET HTML 控件 Hashtable RadiobuttonList 2

asp.net html 控件 hashtable radiobuttonlist 2

<script  runat="server">
sub page_load
if not page.ispostback then
   dim navigate=new hashtable
   navigate.add("radiobuttonlist","control_radiobuttonlist.asp")
   navigate.add("checkboxlist","control_checkboxlist.asp")
   navigate.add("dropdownlist","control_dropdownlist.asp")
   navigate.add("listbox","control_listbox.asp")
   rb.datasource=navigate
   rb.datavaluefield="value"
   rb.datatextfield="key"
   rb.databind()
end if
end sub

sub navigate(s as object, e as eventargs)
response.redirect(rb.selecteditem.value)
end sub
</script>


<!doctype html>
<html>
<body>

<form runat="server">
<asp:radiobuttonlist id="rb" runat="server"
autopostback="true" onselectedindexchanged="navigate" />
</form>

</body>
</html>
相關(guān)文章