这是怎么了...? [英] What's Wrong in here...?
本文介绍了这是怎么了...?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
(Convert.ToBoolean(objUserMgmtData.ActiveYN))?radYes.Checked = true : radNo.Checked = true;
或
or
(Convert.ToBoolean(objUserMgmtData.ActiveYN))?radYes.Checked : radNo.Checked;
消息:仅赋值,调用,递增,递减和新对象表达式可以用作语句.
objUserMgmtData.ActiveYN是布尔类型
message:Only assignment, call, increment, decrement and new object expressions can be used as a statement.
objUserMgmtData.ActiveYN is bool type
推荐答案
(Convert.ToBoolean(objUserMgmtData.ActiveYN)?radYes.Checked : radNo.Checked);
尝试这样做
try to do this
这篇关于这是怎么了...?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文