ASPX中不包含SelectedIndexChanged的定义 10
脚本:<asp:DropDownListID="ddlYear"runat="server"AutoPostBack="True"onselectedindexchang...
脚本:
<asp:DropDownList ID="ddlYear" runat="server" AutoPostBack="True"
onselectedindexchanged="ddlYear_SelectedIndexChanged">
</asp:DropDownList>
ASPX.CS:
protected void ddlYear_SelectedIndexChanged(object sender, EventArgs e)
{
if (int.Parse(ddlMonth.SelectedValue) != 0 && int.Parse(ddlYear.SelectedValue) != 0)
{
Show();
}
else
{
ClearAllTextString();
ClearSubClassList();
}
}
这不明明定义了吗 展开
<asp:DropDownList ID="ddlYear" runat="server" AutoPostBack="True"
onselectedindexchanged="ddlYear_SelectedIndexChanged">
</asp:DropDownList>
ASPX.CS:
protected void ddlYear_SelectedIndexChanged(object sender, EventArgs e)
{
if (int.Parse(ddlMonth.SelectedValue) != 0 && int.Parse(ddlYear.SelectedValue) != 0)
{
Show();
}
else
{
ClearAllTextString();
ClearSubClassList();
}
}
这不明明定义了吗 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询