asp.net ListBox 的onselectedindexChanged 问题
代码:<asp:ListBoxID="ListBox1"runat="server"Height="200px"Width="200px"Font-Size="Small...
代码:
<asp:ListBox ID="ListBox1" runat="server" Height="200px" Width="200px" Font-Size="Small" OnSelectedIndexChanged="ListBox1_selectindexchanged" AutoPostBack="true"></asp:ListBox>
错误1“ASP.test_aspx”不包含“ListBox1_selectindexchanged”的定义,并且找不到可接受类型为“ASP.test_aspx”的第一个参数的扩展方法“ListBox1_selectindexchanged”(是否缺少 using 指令或程序集引用?)F:\Internet.by.Lijun\WebSite1\Test.aspx13 展开
<asp:ListBox ID="ListBox1" runat="server" Height="200px" Width="200px" Font-Size="Small" OnSelectedIndexChanged="ListBox1_selectindexchanged" AutoPostBack="true"></asp:ListBox>
错误1“ASP.test_aspx”不包含“ListBox1_selectindexchanged”的定义,并且找不到可接受类型为“ASP.test_aspx”的第一个参数的扩展方法“ListBox1_selectindexchanged”(是否缺少 using 指令或程序集引用?)F:\Internet.by.Lijun\WebSite1\Test.aspx13 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询