提示无法将类型"short"隐式转换为"bool" 是怎么回事,求高手帮忙
asp.net吧
全部回复
仅看楼主
level 2
本人菜鸟一枚,请各位帮帮忙!代码为:
if (Convert.ToInt16(dr["leibie"] == "管理员"))
2014年04月20日 07点04分 1
level 2
有木有人啊,求帮忙啊。。。
2014年04月20日 07点04分 2
level 1
convert。toint16 (dr[""].tostring()== 试试
2014年04月21日 02点04分 3
1