if(list.Count == 0)
{
list .Add(new bookDetail {
Code ="";
Name =""
});
}
checkboxList.Source = list ;
//添加一个空值项,可以使得控件有值,可以被引用

if(list.Count == 0)
{
list .Add(new bookDetail {
Code ="";
Name =""
});
}
checkboxList.Source = list ;
//添加一个空值项,可以使得控件有值,可以被引用
