要在后台把CheckBoxList的某个ListItem 的selected给true了
遍历该CheckBoxList,写下了下面注释内的代码,死活不能选中我的第个CheckBox
撞墙吧 Array.IndexOf(xxx)            string bigClassId = ( ( DataRowView)e.Item.DataItem )["模块编号"].ToString();
撞墙吧 Array.IndexOf(xxx)            
string bigClassName =  ( ( DataRowView)e.Item.DataItem )["模块名称"].ToString();
撞墙吧 Array.IndexOf(xxx)            CheckBoxList chk_list_big 
= (CheckBoxList)e.Item.FindControl("chk_list_big"as CheckBoxList;
撞墙吧 Array.IndexOf(xxx)            
if(chk_list_big != null)
                }

半天不能醒悟撞墙吧 Array.IndexOf(xxx)就想着换道道,写了”该死”那行上面的几行代码把数组放倒来,(站着不行我就躺着来),发现可行,然后就开始发楞,命名原理一摸一样的啊,真是“见鬼”,对者这几行代码发了会愣,就决定撞墙吧 Array.IndexOf(xxx)撞墙吧 Array.IndexOf(xxx)还要狠狠的撞墙吧 Array.IndexOf(xxx)撞墙吧 Array.IndexOf(xxx)撞墙吧 Array.IndexOf(xxx)
if (Array.IndexOf(xxxxx) > 0) 用力撞墙吧 Array.IndexOf(xxx)撞墙吧 Array.IndexOf(xxx)撞墙吧 Array.IndexOf(xxx)撞墙吧 Array.IndexOf(xxx)
555555,撞的头都疼了.撞墙吧 Array.IndexOf(xxx)

相关文章: