winform 中,datagriview现在有一列 是属于 button 类型的, 我如何让这列的值变的不可用啊。 if (dsclient.Tables[0].Rows[shu]["ClientQQ"].ToString() == "")
{
Button b = (Button)dgvClient.Rows[shu].Cells["客户QQ聊天"];
b.Enabled = false;
}我现在这样写是不行的,但怎样才能让符合条件的button不能用啊
{
Button b = (Button)dgvClient.Rows[shu].Cells["客户QQ聊天"];
b.Enabled = false;
}我现在这样写是不行的,但怎样才能让符合条件的button不能用啊
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货