早上突然发现某一个DataGrid中的ItemCommand事件没有反应了,DataGrid_ItemCommand的相关代码还在,但是在
private void InitializeComponent() 中对DataGrid_ItemCommand的命令初始化却没有了,我只有手动添加

this.dg_CustomerList.ItemCommand += new System.Web.UI.WebControls.DataGridCommandEventHandler(this.dg_CustomerList_ItemCommand);

而且这个情况之前也遇到过,不过当时没有在意,不知道有没有人也遇到过这样的情况?
posted on 2005-01-10 13:20  powerlc  阅读(712)  评论(2编辑  收藏  举报