protected void CheckBoxList1_SelectedIndexChanged(object sender, EventArgs e)
{
string item = Request.Form["__EVENTTARGET"];
item = item.Split('$')[1];
----------------------------未将对象引用设置到对象的实例。//错误提示 int index = Int32.Parse(item);//index就是你最近操作(不论选中与否)的索引
Response.Write(CheckBoxList1.Items[index].Text);
}
this.CheckBoxList1.SelectedItem.Selected
;-----------------------是bool类型的