DataGrid的怪问题!

it2022-05-09  36

早上突然发现某一个 DataGrid中的 ItemCommand事件没有反应了, DataGrid_ItemCommand的相关代码还在,但是在 private void InitializeComponent() 中对DataGrid_ItemCommand的命令初始化却没有了,我只有手动添加 this .dg_CustomerList.ItemCommand  +=   new  System.Web.UI.WebControls.DataGridCommandEventHandler( this .dg_CustomerList_ItemCommand); 而且这个情况之前也遇到过,不过当时没有在意,不知道有没有人也遇到过这样的情况?

转载于:https://www.cnblogs.com/powerlc/archive/2005/01/10/89406.html


最新回复(0)