我的dropdownlist的SelectedIndexChanged事件没有响应,为什么??哭啊??? <asp:DropDownList id="DropDownList1" runat="server" AutoPostBack="True" 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <%@ Page Language="C#" AutoEventWireup="True" %><html><head><script runat="server">private void dropdownlist1_SelectedIndexChanged(object sender, System.EventArgs e){Label1.Text="响应阿·!··";Response.Write("<script>alert('您响应阿!')</"+"script>");}</script></head><body><form runat="server"><asp:DropDownList id="dropdownlist1" runat="server" AutoPostBack="True" OnSelectedIndexChanged="dropdownlist1_SelectedIndexChanged"> <asp:ListItem>Item 1</asp:ListItem> <asp:ListItem>Item 2</asp:ListItem> <asp:ListItem>Item 3</asp:ListItem> <asp:ListItem>Item 4</asp:ListItem></asp:DropDownList> <asp:Label id="Label1" runat="server"/></form></body></html> in2bits.MyXls 如何设定行高? GridView转换成 DataTable 求解释 关于多线程问题? [asp.net]请问如何在页面上嵌入OFFICE word asp.net程序如何调用客户端程序??????????能实现这一想法吗?????? 用datalist显示可点击的图片 关于多层表头锁定的问题!!!谢谢了 请问怎样让这个层显示在正中央? 300分。。菜鸟问题。数据库连接问题 asp.net(C#)中使用OCX控件或COM(组件),怎样调用它?(急) 头晕,怎么。NET有这样的问题
<html>
<head>
<script runat="server">
private void dropdownlist1_SelectedIndexChanged(object sender, System.EventArgs e)
{Label1.Text="响应阿·!··";
Response.Write("<script>alert('您响应阿!')</"+"script>");
}</script>
</head>
<body>
<form runat="server">
<asp:DropDownList id="dropdownlist1" runat="server" AutoPostBack="True" OnSelectedIndexChanged="dropdownlist1_SelectedIndexChanged">
<asp:ListItem>Item 1</asp:ListItem>
<asp:ListItem>Item 2</asp:ListItem>
<asp:ListItem>Item 3</asp:ListItem>
<asp:ListItem>Item 4</asp:ListItem>
</asp:DropDownList>
<asp:Label id="Label1" runat="server"/>
</form>
</body>
</html>