三元表达式判断CheckBox选中状态

@foreach(var a in aaa)

{

        [email protected]==1?checked:0>

 

 

 

 

}

你可能感兴趣的:(.NET)