阅读背景:

根据列值使DataGridView行呈现某种颜色

来源:互联网 

I am using vb.net and I have data coming into my DGV and I have a column labeled deployed if it's a '1', I want to have all the rows with '1' in the deployed column RED and if it's a '0', I want all the rows to be GREEN. This is my method I have, right now the column is the 10th column but it doesn't like the = operator. Even when I use quotes on the 1 with equals compare operator for strings. Should be an integer but I was trying every way I could to see why it's not working.I am using vb.net and I have data coming into m




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: