应该不是没有
this.StatusDropdownlist.SelectedIndexChanged += new System.EventHandler(this.StatusDropdownlist_SelectedIndexChanged);如果不是
给控件加
AutoPostBack="True"
如:<asp:DropDownList ID="StatusDropdownlist" Width="100px" AutoPostBack="True" Runat=server>
this.StatusDropdownlist.SelectedIndexChanged += new System.EventHandler(this.StatusDropdownlist_SelectedIndexChanged);如果不是
给控件加
AutoPostBack="True"
如:<asp:DropDownList ID="StatusDropdownlist" Width="100px" AutoPostBack="True" Runat=server>
解决方案 »
- wince c#在一个Form中放了过多控件导致InitializeComponent()方法Outofmemory异常
- C#怎么与sql连接
- 关于水晶报表问题
- Microsoft Visual Studio 2008里做的的项目 如何在Microsoft Visual Studio 2005里运行
- C# DataGridView 数据库
- UPDATE提示列名 “××” 无效
- 问题:重定义了DataGridView的DataSource,但是新建的行并没有显示出来
- 求Blog源码(asp.net C# + Sqlserver2000)
- 添加记录后,如何将添加的记录变成当前的记录?
- 怎样在.cs的Load中设置IFRAME的SRC??急!!!
- 我是学c语言的现在要学好c#怎么学看什么书谢谢推荐,谢谢
- 调试后,任何断点都不能跟踪!
果然
给控件加
AutoPostBack="True"
就可以了。这是为什么,能解释一下吗?楼上的楼上:
这个
SelectionChangeCommitted
是html窗体的吧
我的这个是web窗体的。
好像就是没有这个。