private void ultraGrid1_InitializeRow(object sender, InitializeRowEventArgs e)
{
if (e.Row.Cells["bjState"].Value != null)
{
string zt = e.Row.Cells["bjState"].Value.ToString();
if (zt == "-1")
{
e.Row.Appearance.BackColor = Color.Red;
}
}
}
{
if (e.Row.Cells["bjState"].Value != null)
{
string zt = e.Row.Cells["bjState"].Value.ToString();
if (zt == "-1")
{
e.Row.Appearance.BackColor = Color.Red;
}
}
}

6336

被折叠的 条评论
为什么被折叠?



