我创建了这些DropDownList
:
<asp:DropDownList CssClass="ComboBoxes" ID="UserComboBox" runat="server" OnSelectedIndexChanged="UserComboBoxSelected"/>
<asp:DropDownList CssClass="ComboBoxes" ID="ShiftComboBox" runat="server"/>
我在代码隐藏中有这个:
protected void UserComboBoxSelected(object sender, EventArgs e)
{
// ...
}
但是,当我在UserComboBox
. 我究竟做错了什么?