YesNo列

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

原文地址:https://www.cnblogs.com/dearbear/p/3474498.html