YesNo列

比较,注意两边类型是否一致,以及boolean类型tostring之后的值
if(item["IsShow"].ToString() == "True")

posted on 2013-12-14 17:09  木子叶  阅读(148)  评论(0编辑  收藏  举报

导航